|
From: Eduin C. <yec...@ya...> - 2005-12-21 03:00:55
|
Thanks Rueben and Justin. Seems that the problem continues. What I did: 1. Change the map SRS to 21892 2. Load another shapefile (SRS 21892) and looks fine 3. Tried to load WFS and the previously loaded file disappears. :-( Another thing, "Map Preview" shows an empty map with this entity. According to docummentation, SRS WKT text are loaded from spatial_ref_sys table (postgresql). Eduin --- Rueben Schulz <rs...@in...> escribió: > Hello, > > There are many possible reasons why this might not work, but I suspect > Justin's suggestion below should work (set map CRS to data CRS). > > For reference this is the 21892 WKT (from the epsg.properties file): > > PROJCS["Bogota 1975 / Colombia Bogota zone",GEOGCS["Bogota > 1975",DATUM["Bogota_1975",SPHEROID["International > 1924",6378388,297,AUTHORITY["EPSG","7022"]],AUTHORITY["EPSG","6218"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4218"]], > PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",4.599047222222222],PARAMETER["central_meridian",-74.08091666666667],PARAMETER["scale_factor",1],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1000000],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AUTHORITY["EPSG","21892"]] > > The transverse mercator projection is supported in getools, so that is > not the problem. > > I do not know where geoserver is getting CRS (aka SRS) information; > perhaps a geoserver person can answer this for me (since I am interested > in knowing). If it is from the epsg.properties file, then the CRS has no > TOWGS84 parameters (needed for a datum transform). Since the uDig map > defaults to WGS84, it will not be able to transform from the Bogota to > WGS84 datum. > > Of course the CRS for the data could be coming from somewhere else (but > geoserver people should be able to help you here). > > By setting your map CRS to 21892 (as Justin suggested), uDig should not > have to do any transform and should not complain. > > If this is indeed the problem, geoserver may want to consider using the > new CRS authority factory backed by hsql. It has the full epsg database > with all of the datum shifting parameters. However, it seems to be a bit > slow when I was using it at home. > > Well, that is my best guess, good luck. > Rueben > > > --- Justin Deoliveira <jde...@un...> wrote: > > > I am going to cross post this to the udig and > > geotools lists, someone > > will have an answer. My guess is that the necessary > > transform may not be > > present? > > > > What happens if you first set your map to this > > projection, and then add > > your data? > > > > -Justin > > > > Eduin Carrillo wrote: > > > I were trying to do WFS requests from uDIG to my > > Georverver without success. > > > > > > Data seems to be properly configured but uDIG > > shows a red cross over that > > > datasource. My data has SRS 21892 (Bogota/Bogota > > datum) > > > > > > Any hint? > > > > > > > > > Eduin > > > > > > > > __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.espanol.yahoo.com/ |