[OSM-newbies] OpenLayers POI extraction

Thomas Wood grand.edgemaster at gmail.com
Fri Oct 9 09:15:53 BST 2009


On Fri, 2009-10-09 at 13:47 +0900, Andrew Errington wrote:
> Hi,
> 
> I'm not sure where to announce this, but since I started by making
> enquiries here, perhaps this is the best place to finish.  Besides, since
> it's now in the Wiki it doesn't need to be announced, as people will find
> it.
> 
> I am grateful to Renaud Michel for providing the useful bits of XSLT code
> while I fiddled around the edges.
> 
> This simple project is to make a set of POI layers to overlay on top of a
> town map.  The code should be self explanatory.  It's not highly polished,
> and there are many improvements that could be made.  These are left as an
> exercise for the reader.  If I have made any glaring errors, well, it's a
> wiki.  Please fix them for me.
> 
> http://wiki.openstreetmap.org/wiki/Openlayers_POI_layer_example_2
> 
> In case you are wondering, a 'hagwon' is a private education business
> which teaches students out of school hours.  The equivalent in Japan is
> 'juku'.  I'd like to have an 'official' recognition of this tag as hagwons
> are very common here in Korea, but that is another matter.
> 
> Best wishes,
> 
> Andrew

Thanks for sharing this nice approach to generating the csv files used
by OpenLayers, its a useful extension to the previous example.

I should probably note that any fixed-file methods of pulling in POIs
will get horribly slow in browsers when the number of points starts
reaching the tens of thousands.

Regards,
Thomas





More information about the newbies mailing list