Ian Turton wrote:
> 
> On Fri, Aug 27, 2010 at 8:08 AM, Jedidiah F <[email protected]> wrote:
>>
>> I am working on a project in which I need the ability to reproject data
>> from
>> EPSG:4326 to polar stereographic.  From what I've read, Geoserver can
>> handle
>> WMS reprojection on-the-fly.
>>
>> This is what I've done so far:
>>  1. Geolocated a blue marble image using gdal_translate
>>     gdal_translate  -a_srs "EPSG:4326" -a_ullr -180 90 180 -90 in.jpg
>> out.tif
>>  2. Loaded the image into geoserver.
>>  3. Set the Declared SRS to EPSG:3031.
>>  4. Set to "Reproject native to declared".
> 
> You are lying to GeoServer at this step - by doing this you are
> telling GeoServer that while your data thinks it is in 4326 it is
> really in 3031. This leads to GeoServer getting confused when you ask
> it to draw a map (in 3031?) as it thinks it doesn't need to do any
> reprojection when in fact it does need to.
> 
> So to fix this stop lying to GeoServer and then set the requested
> projection in the request to 3031.
> 
> Something like -
> 
> http://ian01.geog.psu.edu/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=geovista:bluemarbleng&styles=&bbox=-13332536.110521,-8332835.0690757,13332536.110521,4999701.0414455&width=512&height=512&srs=EPSG:3031&format=application/openlayers
> 
> Now this looks a bit odd as my copy of BlueMarble doesn't go all the
> way to the pole (and possibly not to the edge of the world either)
> 
> Hope that helps
> 
> Ian
> 
> -- 
> Ian Turton
> 
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users 
> worldwide. Take advantage of special opportunities to increase revenue and 
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 
> 

Ian,
Thank you for your response.  Now that it's explained, it makes a lot more
sense.  I am running into the same issue you seemed to be having with the
hole in the middle of Antarctica, but this is definitely closer.  I'll try
loading up different data to see if that fixes it.

Thanks again,
Jed
-- 
View this message in context: 
http://old.nabble.com/Geoserver-Reprojection-Issues-tp29549831p29563188.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to