[OSM-dev] POI layer refusing to talk to server php

NopMap ekkehart at gmx.de
Sun Jan 9 10:34:03 GMT 2011


Hi!



Nick Whitelegg-2 wrote:
> 
> You don't really need a text file, you can generate XML directly from the
> PHP and have OpenLayers read that. One good format to use for the XML is
> GeoRSS as OpenLayers already has a parser for that.
> The OpenLayers parser uses GeoRSS with Atom rather than RSS 2.0.
> You can alternatively define your own format if you don't want to use
> GeoRSS. See
> http://www.free-map.org.uk/otv/RouteJSON.js
> as an example (this is JSON based, and creates LineStrings, but it's the
> same general idea).
> 

I don't quite grasp the meaning of you answer. You are suggesting a number
of different formats for POI information. But I don't have any problems with
the format, it works in the static case. There just seems to be a
communication problem. According to the sampels text format should also work
dynamically.

So are you saying that text format cannot work dynamically and therfore I
should use a different format?

bye
               Nop

-- 
View this message in context: http://gis.638310.n2.nabble.com/POI-layer-refusing-to-talk-to-server-php-tp5899420p5904136.html
Sent from the Developer Discussion mailing list archive at Nabble.com.



More information about the dev mailing list