[OpenLayers-Users] problemas with Georss layer and SRS
Ignacio Talavera
ignacio.talavera at gmail.com
Fri Oct 10 13:46:41 EDT 2008
On Fri, Oct 10, 2008 at 3:21 PM, Eric Lemoine <eric.c2c at gmail.com> wrote:
> 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.
I set the projection in map options but not in the layer georss
>
> Or: did you check that the GeoRSS file is effectively loaded? (i'm
> thinking about a bad proxy configuration or something). Eric
Yes the file it loaded correctly because it adds a new layer in the
layerswitcher control.
>
>
> 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
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20081010/49541bba/attachment.html
More information about the Users
mailing list