[OpenLayers-Users] problemas with Georss layer and SRS

Eric Lemoine eric.c2c at gmail.com
Fri Oct 10 13:21:29 EDT 2008


Hi. Where do you set the projection? In the options passed to the map
constructor? Or in those passed to the WMS layer constructor? It
should be set in the map options for the GeoRSS layer to pick it up.
Or: did you check that the GeoRSS file is effectively loaded? (i'm
thinking about a bad proxy configuration or something). Eric

2008/10/10, Ignacio Talavera <ignacio.talavera at gmail.com>:
> Hi, I'm trying to load a georss layer using this sample
> http://openlayers.org/dev/examples/georss.html. I replace the layer:basic of
> the sample with my own layer using EPSG 32721 SRS. I create a simple georss
> file with coordinates in my SRS
> OL add the layer in the layerswitcher control but it doesn't show it in the
> map.
>
> Do I have to change the georss file to specify that I'm not using WS84?
>
> Here is the georss File
>
> *<?xml version="1.0" encoding="UTF-8"?>
> <rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:rdf="
> http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="
> http://purl.org/dc/elements/1.1/" xmlns:gml="http://www.opengis.net/gml"
> xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:georss="
> http://www.georss.org/georss" xmlns:geo="
> http://www.w3.org/2003/01/geo/wgs84_pos#" version="2.0">
>   <channel>
>     <title>Sample Feed (created with ROME)</title>
>     <link>http://rome.dev.java.net</link>
>     <description>This feed has been created using ROME</description>
>     <item>
>       <title>ROME v1.0</title>
>       <link>http://wiki.java.net/bin/view/Javawsxml/Rome01</link>
>       <description>Initial release of ROME</description>
>       <pubDate>Thu, 02 Oct 2008 19:54:33 GMT</pubDate>
>       <guid>http://wiki.java.net/bin/view/Javawsxml/Rome01</guid>
>       <dc:date>2008-10-02T19:54:33Z</dc:date>
>       <georss:point>573377.2825 6136843.2713</georss:point>
>     </item>
>   </channel>
> </rss>*
>
> Thanks Nacho
>



More information about the Users mailing list