Re: [Geotools-gt2-users] [Geoserver-users] Projection centered on the Pacific Ocean

2008-08-15 Thread Mark Leslie
This looks like a standard 'edge of the earth' issue.  Your data has
been clipped so that these artifacts don't appear in EPSG:4326 (look
around Egvekinot).  The problem here is that when a polygon, such as
Africa, extends beyond the edge of the map the points are being
projected to the other side of the view.  The results are the horizontal
lines as the polygon races across the map.  You will likely need to do
data preparation to split some continents across your edge of the world.

-- 
Mark Leslie
Geospatial Software Architect
LISAsoft

-
Ph: +61 2 8570 5000 Fax: +61 2 8570 5099 Mob: +61 
Suite 112, Jones Bay Wharf 19-21 Pirrama Rd Pyrmont NSW 2009
-

LISAsoft is part of the A2end Group of Companies
http://www.ardec.com.au
http://www.lisasoft.com
http://www.terrapages.com


springrider wrote:
 Good afternoon

 I need to display some maps which are centered on the Pacific Ocean. After
 having spend some times, looking at the different SRS available in
 GeoServer, i run a bunch of test with the EPSG=3349.
 This is the type of map, i obtain: 
 http://www.fao.org/figis/geoserver/wms?bbox=-22041257.773878,-14322638.1338445,22041257.773878,13613811.2422463styles=Format=application/openlayersrequest=GetMapversion=1.1.1layers=fifao:UN_CONTINENTwidth=800height=362srs=EPSG:3349
  
 It is effectively centered on the Pacific ocean but, many polygons are not
 correctly displayed.

 Normal view with EPSG:4326:

 http://www.fao.org/figis/geoserver/wms?bbox=-198.0,-98.681184,198.0,92.3047800085styles=Format=application/openlayersrequest=GetMapversion=1.1.1layers=fifao:UN_CONTINENTwidth=800height=362srs=EPSG:4326

 Is it a bug of GeoServer or did I make some mistakes defining the parameters
 of my map?Is it the correct SRS with the right bounding box?

 My data is extracted from an Oracle DB and i am using GeoServer 1.6.5. I
 tried with the 1.7.0-RC1-pre version, it have obtained a white page.

 Thanks for helping me.

 Sylvain
   



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


Re: [Geotools-gt2-users] [Geoserver-users] Projection centered on the Pacific Ocean

2008-08-14 Thread Justin Deoliveira
Hi Sylvain,

I am forwarding your request to the Geotools list. There are people 
there who are far more knowledgeable about referencing systems and in 
particular the GeoServer implementation and can better answer your question.

springrider wrote:
 Good afternoon
 
 I need to display some maps which are centered on the Pacific Ocean. After
 having spend some times, looking at the different SRS available in
 GeoServer, i run a bunch of test with the EPSG=3349.
 This is the type of map, i obtain: 
 http://www.fao.org/figis/geoserver/wms?bbox=-22041257.773878,-14322638.1338445,22041257.773878,13613811.2422463styles=Format=application/openlayersrequest=GetMapversion=1.1.1layers=fifao:UN_CONTINENTwidth=800height=362srs=EPSG:3349
  
 It is effectively centered on the Pacific ocean but, many polygons are not
 correctly displayed.
 
 Normal view with EPSG:4326:
 
 http://www.fao.org/figis/geoserver/wms?bbox=-198.0,-98.681184,198.0,92.3047800085styles=Format=application/openlayersrequest=GetMapversion=1.1.1layers=fifao:UN_CONTINENTwidth=800height=362srs=EPSG:4326
 
 Is it a bug of GeoServer or did I make some mistakes defining the parameters
 of my map?Is it the correct SRS with the right bounding box?
 
 My data is extracted from an Oracle DB and i am using GeoServer 1.6.5. I
 tried with the 1.7.0-RC1-pre version, it have obtained a white page.
 
 Thanks for helping me.
 
 Sylvain


-- 
Justin Deoliveira
Software Engineer, OpenGeo
http://opengeo.org

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users