[Openstreetmap] API feature request

Frank Mohr f_mohr at yahoo.de
Sat Aug 13 18:27:11 BST 2005


SteveC wrote:
> * @ 13/08/05 03:03:07 PM f_mohr at yahoo.de wrote:
> 
>>SteveC wrote:
>>
>>>Hi,
>>>
>>>We're trying to rapidly ditch the xml-rpc in favour of a restful api.
>>>See: http://www.openstreetmap.org/wiki/index.php/REST
>>
>>i just had a look at the page
>>shouldn't we use a subset of GML instead of extending gpx for the REST
>>interface?
> 
> 
> Fair point, though I'm not really bothered, it's all xml in the end.
> What are the advantages of GML?
> 
> Havn't had to extend gpx yet, either.
> 
> have fun,
> 
> SteveC steve at fractalus.com http://www.fractalus.com/steve/
> 
> 

lets start with the concept
- GPX was designed to exchange GPS data
- GML was designed for "general purpose" geographic informations.

GPX defines
- waypoints
- routes - list of points
- tracks - list of track segments
- track segment - list of points
GPX doesn't define
- areas
- connection between elements

i think we need to define the following relations:
- street consists of several segments
- a segment might belong to several streets
- a street belongs to a administrative area
- a administrative area belongs to a higher administrative area

i've uploaded a few tcm drawings for this on
http://www.openstreetmap.org/wiki/index.php/User:FrankM

frank

	

	
		
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de





More information about the talk mailing list