Osmap

Osmap

Osmap is a standard for storing map data in XML tags. Its goal is to be very simple and easy to use, compared to other data storage techniques such as GIS or OGC. The standard defines the tags and attributes of many elements, which fall into three categories: shape, line, and object. A key point to osmap is the ability to contain extra data, such as names of businesses, images, and short descriptions. Nearly every possible feature is attempted to be covered in the standard, so that any implementation does not need to create proprietary additions. For example, osmap has a long list of possible building types, and it is recommended that people use the exact spelling and spacing of the building type, such as school, postoffice, gas, etc. The idea is that any osmap data will work with any osmap software, without any catches. Types of data that don't need to be seen could be disabled, as in layers. An example would be a Fireman needing to see all the fire hydrants on his map, but others would choose not to see them.

The standard is currently on version 0.2, and is open source. Ideas to improve the standard are very welcome and can be submitted on osmap's Source Forge project page.

Contents

Features

The standard has some practices that help it be more efficient and useful.

  • The osmap standard is open source. Anyone can suggest new ideas or changes to make it better.
  • It uses meters as the default measuring scale. With all data created in the same scale, it should be easier to convert if necessary.
  • Each map is one full grid square, such as 30N x 46E, which is defined in the parent tags of each element file. Each coordinate thereafter doesn't need to use the grid square since it is already defined. It would be 123456, instead of 30.123456N. This saves space and helps maps be more manageable.
  • The standard has a preset folder and naming structure for each map. The standard also supports compression, such as 7z or zip.

Uses

Osmap strives to be feature rich and simple at the same time. Because each coordinate is created with current GPS technologies in mind, that of 6 decimal accuracy (plus intentional errors), it may never be suitable for professional surveyors and such. But it could be used nearly everywhere else, such as in web based maps, desktop trip planning software, printed hard copies, and car navigation.

Examples

Here are a few example tags to show how simple osmap is. To learn more, read the osmap standard.

Lets create a road:

<road type="highway" name="Sunset" street="boulevard">list of coordinates goes here, connect the dot effect.</road>

Lets create a building:

<building type="gas" name="Sheets MTO" dim="30x25" desc="This gas station offers 12 pumps and a menu of food.">123456</building>

External links


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Maps of the UK and Ireland — Articleissues primarysources=December 2007 rewrite=April 2008 tooshort=December 2007 context=December 2007Maps of the UK and Ireland are available in various media.Maps on CD ROMISYS OUTDOORS, Anquet Maps and Fugawi offer a series of 1:25,000,… …   Wikipedia

  • Islington Branch Canal — The Islington Branch Canal left the main line of the Ashton Canal between locks 1 and 2 in Ancoats. Although it was only 1,034 yards long (945m) it was, in its prime, an important industrial branch and it had its own short arm leading to private… …   Wikipedia

  • Stella Power Station — Infobox UK power station static static image caption=Stella North and South Power Stations. Viewed from Newburn Bridge on 31 October 1987. Stella North is on the left and Stella South is on the right. os grid reference=NZ175644 latitude=54.974278 …   Wikipedia

  • Heywood Branch Canal — The Heywood Branch Canal was a branch of the Rochdale Canal from Castleton which led to Heywood.HistoryThe canal was opened in 1834.Current statusThe branch canal is now almost completely lost. The M62 between junctions 19 and 20 has been built… …   Wikipedia

  • Crouch, Swale — Crouch is a hamlet in the civil parish of Boughton under Blean in the Swale District, in the county of Kent, England. Nearby settlements include the town of Faversham and the villages of Selling, Gushmere, South Street and Neames Forstal.… …   Wikipedia

  • Drax power station — Viewed from the east in October 2007 …   Wikipedia

  • List of maps of the UK and Ireland — Maps of the UK and Ireland are available in various media. Contents 1 Maps on CD ROM 2 Maps on GPS Phones 3 Downloadable Maps 4 Online Maps …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”