[Openstreetmap-dev] likelihood of getting street segments out of the api?
SteveC
steve at asklater.com
Wed Nov 9 17:22:36 GMT 2005
* @ 09/11/05 05:16:43 PM jo at frot.org wrote:
> hello,
>
> if i'm missing something obvious, misparsing
> http://www.openstreetmap.org/wiki/index.php/REST
> or making the usual excessive demands on open-source, freetime
> projects, then please ignore me.
er...
http://www.openstreetmap.org/api/0.2/map?bbox=-0.1505364114545955,51.52508180187491,-0.1443910067773686,51.527812790410245
gives
<osm version='0.2'>
<node lon='-0.148664925516301' tags='' uid='60'
lat='51.5254829507548'/>
<node lon='-0.148588713362387' tags='' uid='110308'
lat='51.5278975364617'/>
<node lon='-0.146574820235401' tags='' uid='234190'
lat='51.5258023287658'/>
<node lon='-0.145692586898804' tags='' uid='103928'
lat='51.5262184143066'/>
<node lon='-0.148549228906631' tags='' uid='44'
lat='51.5251197814941'/>
<node lon='-0.146549582481384' tags='' uid='39'
lat='51.5254936218262'/>
<node lon='-0.145844951272011' tags='' uid='78112'
lat='51.527515411377'/>
<node lon='-0.145178407205123' tags='' uid='40'
lat='51.5240177646579'/>
<node lon='-0.151177331805229' tags='' uid='99887'
lat='51.5254020690918'/>
<node lon='-0.145778298377991' tags='' uid='106212'
lat='51.5253143310547'/>
<node lon='-0.144435673952103' tags='' uid='106201'
lat='51.5277099609375'/>
<node lon='-0.147528455343831' tags='' uid='234192'
lat='51.5261041062079'/>
<node lon='-0.147169607606429' tags='' uid='226261'
lat='51.5267103862796'/>
<node lon='-0.147120907902718' tags='' uid='35'
lat='51.5251350402832'/>
<node lon='-0.145921126008034' tags='' uid='52'
lat='51.5289535522461'/>
<node lon='-0.145806863903999' tags='' uid='106202'
lat='51.5277328491211'/>
<node lon='-0.150348901748657' tags='' uid='99888'
lat='51.526252746582'/>
<node lon='-0.149463355541229' tags='' uid='99894'
lat='51.524959564209'/>
<node lon='-0.14449280500412' tags='' uid='110091'
lat='51.5296478271484'/>
<node lon='-0.14986327290535' tags='' uid='58'
lat='51.5282974243164'/>
<node lon='-0.14812071621418' tags='' uid='47'
lat='51.5252075195312'/>
<node lon='-0.146119650312045' tags='' uid='36'
lat='51.5254364014072'/>
<node lon='-0.144235715270042' tags='' uid='106203'
lat='51.5257225036621'/>
<node lon='-0.14780957771084' tags='' uid='194797'
lat='51.526984396161'/>
<node lon='-0.149891838431358' tags='' uid='99889'
lat='51.5269317626953'/>
<node lon='-0.148451367243979' tags='' uid='200056'
lat='51.5248117577911'/>
<node lon='-0.149762112930221' tags='' uid='99890'
lat='51.5276425090041'/>
<segment tags='' from='99890' to='58' uid='201151'/>
<segment tags='' from='106202' to='106201' uid='63684'/>
<segment tags='' from='44' to='47' uid='27'/>
<segment tags='' from='234190' to='234190' uid='192390'/>
<segment tags='' from='103928' to='106212' uid='63679'/>
<segment tags='' from='99887' to='99888' uid='57090'/>
<segment tags='name=; ' from='58' to='60' uid='44'/>
<segment tags='' from='106201' to='106203' uid='63685'/>
<segment tags='' from='234190' to='39' uid='192391'/>
<segment tags='' from='110091' to='106201' uid='68157'/>
<segment tags='' from='36' to='106212' uid='63680'/>
<segment tags='' from='99888' to='99889' uid='57091'/>
<segment tags='' from='60' to='44' uid='45'/>
<segment tags='' from='99890' to='99890' uid='192386'/>
<segment tags='' from='52' to='106202' uid='63675'/>
<segment tags='' from='35' to='200056' uid='156268'/>
<segment tags='' from='106212' to='40' uid='63681'/>
<segment tags='' from='99889' to='99890' uid='57092'/>
<segment tags='' from='44' to='47' uid='46'/>
<segment tags='' from='110308' to='194797' uid='151104'/>
<segment tags='' from='106202' to='78112' uid='63676'/>
<segment tags='' from='35' to='106212' uid='63682'/>
<segment tags='' from='44' to='99894' uid='57082'/>
<segment tags='' from='36' to='40' uid='1433'/>
<segment tags='' from='47' to='60' uid='47'/>
<segment tags='' from='39' to='36' uid='14'/>
<segment tags='name=; ' from='194797' to='226261' uid='192388'/>
<segment tags='' from='78112' to='103928' uid='63677'/>
<segment tags='' from='99890' to='99890' uid='201150'/>
<segment tags='' from='194797' to='47' uid='192383'/>
<segment tags='' from='36' to='40' uid='63683'/>
<segment tags='' from='60' to='58' uid='48'/>
<segment tags='name=some segment; ' from='226261' to='234190'
uid='192389'/>
<segment tags='' from='36' to='40' uid='63678'/>
</osm>
have fun,
SteveC steve at asklater.com http://www.asklater.com/steve/
More information about the dev
mailing list