Hi Rueben, thanks for the info.
Rueben Schulz wrote:
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.
Geoserver still uses the epgs.properties file. Ideally it might be nice
to give users the option to choose. In any case it would be useful for
debugging.
Well, that is my best guess, good luck.
Rueben
--- Justin Deoliveira <[EMAIL PROTECTED]> 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
> >
> >
-------------------------------------------------------
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
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-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
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users