XOMGL
From Wikipedia, the free encyclopedia
XOMGL (eXtensible Open Municipal Geodata Language) is an open XML standard for the exchange of large amounts of government data between a municipal agency and regular citizens and developers creating web-based mapping applications. It is part of the OMG Standard, which seeks to promote the free flow of information between government agencies and citizens by establishing a common set of technical standards for organizing and sharing public data.
Contents |
[edit] Types of Data
The XOMGL format is good for organizing and distributing digitally many types of government data, including crime, building permits, restaurant health reviews, pollution sources, political contributions, property values, traffic accidents, sex offenders, and historic sites.
[edit] Fields
It has just enough required fields to allow easy updates and the plotting of data on online maps. It also has enough optional data to allow categorization, filtering, date ranges, images, external links, and latitude and longitude. It provides all of this without overwhelming the end user, providing too much irrelevant data, and displays in an easy to read and manage format.
[edit] Usage Examples
A government agency would make data available on its website with either static links to files in this format, or queryable versions that allow users to filter the data by last updated date, date range, category, etc. The XML and JSON versions can be used to automate data importing into web-based software applications, while the CSV version allows regular people to browse, filter, sort, edit, and repurpose the information with only spreadsheet software knowledge.
[edit] Other Formats
There is not another existing format that is made for this purpose. KML, GeoRSS, and other formats that are geographically based are not adequate since government data does not typically have Latitude and Longitude, which is an essential part of those formats, and they are more suited to the final output of the data, with styles included, not really for data transfer and export from city databases. XOMGL can also be output gracefully into JSON and a downgraded CSV format.
[edit] External links
[edit] Example XOMGL Format
<?xml version="1.0" encoding="utf-8"?> <dataset name=""> <metadata> <sourcename></sourcename> <sourceurl></sourceurl> <sourcecity></sourcecity> <sourcestateid></sourcestateid> <sourcecountryid></sourcecountryid> <description></description> <updatefrequency></updatefrequency> <lastupdated></lastupdated> <startdatetime></startdatetime> <enddatetime></enddatetime> </metadata> <locationdata> <centercity></centercity> <centerstateid></centerstateid> <centercountryid></centercountryid> <centerlatitude></centerlatitude> <centerlongitude></centerlongitude> <coveragecity></coveragecity> <coveragestateid></coveragestateid> <coveragecountryid></coveragecountryid> <minlatitude></minlatitude> <maxlatitude></maxlatitude> <minlongitude></minlongitude> <maxlongitude></maxlongitude> </locationdata> <itemdata> <externalurl></externalurl> </itemdata> <item> <id></id> <name></name> <description></description> <categories> <categoryid></categoryid> </categories> <location></location> <address></address> <address2></address2> <city></city> <state></state> <zip></zip> <date></date> <latitude></latitude> <longitude></longitude> <fullurl></fullurl> <imagepath></imagepath> <detaillink></detaillink> </item> </dataset>