|
From: Justin D. <jde...@un...> - 2005-12-13 19:50:39
|
Hi Lena, For shapfiles, you can modify the well known text in the .prj file. For instance, I have attached a file with the neccesary paramters, and one without. The difference is the paramter TOWGS84[x,x,x,x,x,x]. As for ArcSDE, I am not sure how projection information is stored. However you can get an answer for this on the geotools-users list. Also, please note that this is not a permanent solution, however it would be nice to have you try it to determine if this is in fact the issue. Luckily I looked into how Geoserver does reprojection and I beleive there is something we can do on our end to help things along. However before I proceed I need Dave's input. He is the CRS guru around these parts. If ok, you should see the fix in the next release and the above hack will not be necesary. Dave: Geoserver uses the method CRS#transform(CRS,CRS) to perform the reprojection. This performs the projection in non-lenient mode, which means that if the exact paramters are not present (in this case the bursa wolf ones), the transform will fail. There is a version of the method, CRS#transform(CRS,CRS,boolean), the boolean flag being the lenient flag. What do you think performing projections in lenient mode? -Justin Lena Pahl wrote: > Hi Justin! > How can I supply the necessary parameters? As for me, I had that 'Bursa Wolf params' error message when I tried to create feature types for shapefiles and for ArcSDE layers based in Germany (EPSG code is 31467, Gauss-Krueger Coordinates) > Thanks, > Lena > > > Justin Deoliveira <jde...@un...> schrieb am 13.12.05 18:24:05: > >>Yes, Lena is correct here. Because your data is not in WGS84 geoserver >>needs to perform a transform. However in this case the neccessary >>information (Bursa Wolf Paramters) for your projection is not available >>which means geoserver cant perform the datum shift. >> >>What format is your data in? Depending on the format you may be able to >>suply the neccesary paramters to have the transformation work. >> >>-Justin >> >>Lena Pahl wrote: >> >>>Hi Rob! >>> >>>I cannot offer help on your WMS problem. But I had the same experience when I tried to create bounding boxes for my featuretypes. This is what I found out: >>>GeoServer uses geographic coordinates (Lat/Lon) for the bounding box of a layer. If your data is in WGS84 GeoServer is able to create a bounding box automatically from the data itself. If your data is not WGS84based you have to put in the min/max values for the bounding box in geographic coords by hand. As far as I remember you do not need the exact (transformation) values. Just an approximation. I think this is needed by the WMS but I'm not sure. Give it a try! Maybe that solves both of your problems :-) >>> >>>Cheers, >>>Lena >>> >>> >>> >>><rob...@to...> schrieb am 13.12.05 13:25:11: >>> >>> >>>>Hi >>>> >>>>I've got some geodata I'd like to be able to view using WMS provided by Geoserver. >>>> >>>>I can load the data as a WFS OK, but I cant produce WMS. The Geoserver console >>>>shows the following lines: >>>> >>>>90330 [FINE] org.geotools.renderer.lite.StreamingRenderer - added attribute GEOMETRY >>>>90330 [SEVERE] >>>>org.geotools.renderer.lite.StreamingRenderer$DefaultRenderListener - Error >>>>transforming bbox >>>>90330 [SEVERE] >>>>org.geotools.renderer.lite.StreamingRenderer$DefaultRenderListener - Exception >>>>rendering layer org.geotools.map.DefaultMapLayer@1cc1ef4 >>>>90330 [FINE] org.geotools.renderer.lite.StreamingRenderer - Style cache hit >>>>ratio: NaN , hits 0, requests 0 >>>> >>>>Any clues on how I resolve this? >>>> >>>> >>>>Now this may be unrelated, but I also have a problem creating FeatureTypes for >>>>ALL of my data. I am UK based, and am predominantly using the OS BNG (27700). >>>>The Geoserver administration page never creates Bounding Box Lat Longs reporting: >>>> >>>>Could not construct a SRS transformation - Bursa wolf parameters required. >>>> >>>>340099 [FINE] org.geotools.data.jdbc.ConnectionPool$ConnectionListManager - >>>>Connection closed - adding to available connections. >>>>340099 [FINE] DefaultFactory - Unavailable factory: European Petroleum Survey Group >>>>340099 [FINE] DefaultFactory - Unavailable factory: European Petroleum Survey Group >>>> >>>>Any clues in resolving this would similarly be gratefully received! >>>> >>>>MTIA >>>> >>>>Rob >>>> >>>>---- Message sent via Totalise Webmail - http://www.totalise.co.uk/ MAX Broadband 2Mb now just £17.99 a month plus 2 months free! >>>> >>>> >>>>------------------------------------------------------- >>>>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >>>>for problems? Stop! Download the new AJAX search engine that makes >>>>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >>>>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >>>>_______________________________________________ >>>>Geoserver-users mailing list >>>>Geo...@li... >>>>https://lists.sourceforge.net/lists/listinfo/geoserver-users >>> >>> >>> >>>______________________________________________________________________ >>>XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club! >>>Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130 >>> >>> >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >>>for problems? Stop! Download the new AJAX search engine that makes >>>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >>>http://ads.osdn.com/?ad_idv37&alloc_id865&op=click >>>_______________________________________________ >>>Geoserver-users mailing list >>>Geo...@li... >>>https://lists.sourceforge.net/lists/listinfo/geoserver-users >>> >> >> >>-- >>Justin Deoliveira >>The Open Planning Project >>http://topp.openplans.org >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >>for problems? Stop! Download the new AJAX search engine that makes >>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >>_______________________________________________ >>Geoserver-users mailing list >>Geo...@li... >>https://lists.sourceforge.net/lists/listinfo/geoserver-users > > > > ______________________________________________________________ > Verschicken Sie romantische, coole und witzige Bilder per SMS! > Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193 > > -- Justin Deoliveira The Open Planning Project http://topp.openplans.org |