Let's take this to the geotools-devel list, as this is beyond my 
projection knowledge.

I wonder if the EPSG database is incorrect? I think uDig uses epsg-wkt 
still.

Richard

Piero Cavalieri wrote:
> http://postgis.refractions.net/pipermail/postgis-users/2004-June/005040.html 
> 
> 
> That guy gives
> PARAMETER["Central_Meridian",-3.45233333]
> 
> Udig,  gives:
> PARAMETER["central_meridian", 9.0]
> 
> I'm ignorant: what's the difference between  +lon_0 in  proj4text and 
> Central_Meridian ?
> That guy uses +lon_0=9 and PARAMETER["Central_Meridian",-3.45233333].
> 
> Bye
>  Piero
> 
> Richard Gould ha scritto:
>> Hmm ok
>>
>> Can you give me the proper representation of
>>
>> -247941.17083210908,5334613.737657672,
>> -194536.86526633866,5359024.191696413
>>
>> In LatLon? I can then create a GeoTools bug and ask the projection 
>> experts about this :)
>>
>> Unfortunately I don't know projections that well :(
>>
>> Cheers
>>
>> Richard
>>
>> Piero Cavalieri wrote:
>>> What Gaia gives:
>>>
>>>
>>>
>>> Also the Capbilities I sent u gives negatives x:
>>> <LatLonBoundingBox minx="-2.00766" miny="45.6512" maxx="-0.471064" 
>>> maxy="46.5572" />
>>>
>>> I don't understand nothing.... Is it false origin matter ?
>>> However udig gives 26591 wrong (as my data are in that proj)...
>>>
>>> P.
>>>
>>> Piero Cavalieri ha scritto:
>>>
>>>> Using cs2cs conversion 26591->4321 give me incorrect results, on 
>>>> windows. Lon becomes negative, as in your results. But doing the 
>>>> same on Linux I have correct results, as here:
>>>> http://mpa.itc.it/markus/shortcourse/notes2.html
>>>>
>>>> Also with some beta version of 1.1, there was no problems, for this. 
>>>> I'll try with previous udig versions and also with another machine 
>>>> (when I'll have time).
>>>> Piero.
>>>>
>>>> Richard Gould ha scritto:
>>>>
>>>>> Hi,
>>>>>
>>>>> It is possible that the EPSG 26591 is defined incorrectly in 
>>>>> GeoTools's EPSG database. What is the LonLat bounding box of the 
>>>>> area you were trying to view? Can you send me the Capabilities 
>>>>> document for the WMS?
>>>>>
>>>>> As a test, I back-projected that bbox from EPSG:26591 to EPSG:4326, 
>>>>> and this is what I got:
>>>>>
>>>>> -1.104, 45.882, -0.551, 46.216
>>>>>
>>>>> Does that look correct?
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Richard
>>>>>
>>>>> Piero Cavalieri wrote:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> Testeing against Mapserver WMS, seems BBOX have incorrect values. 
>>>>>> EPSG is 26591, which has always positive numbers.
>>>>>> Instead I have:
>>>>>>
>>>>>> BBOX=-247941.17083210908,5334613.737657672,-194536.86526633866,5359024.191696413&
>>>>>>  
>>>>>>
>>>>>>
>>>>>> so I don't see map. GetCapabilities doesn't have warnings. Gaia 
>>>>>> and ESRI display WMS map correctly.
>>>>>>
>>>>>> Full log:
>>>>>> !SESSION 2006-06-08 19:08:10.403 
>>>>>> -----------------------------------------------
>>>>>> eclipse.buildId=unknown
>>>>>> java.version=1.5.0_04
>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
>>>>>> Framework arguments:  -noop -vm 
>>>>>> C:\Programmi\uDig\1.1.RC1\eclipse\jre\bin\javaw.exe -vmargs 
>>>>>> -Xmx386M -jar C:\Programmi\uDig\1.1.RC1\eclipse\startup.jar
>>>>>> Command-line arguments:  -os win32 -ws win32 -arch x86 -data 
>>>>>> C:\Documents and Settings\piero\Dati applicazioni\..\My 
>>>>>> Documents\uDig -noop -vm 
>>>>>> C:\Programmi\uDig\1.1.RC1\eclipse\jre\bin\javaw.exe -vmargs 
>>>>>> -Xmx386M -jar C:\Programmi\uDig\1.1.RC1\eclipse\startup.jar
>>>>>>
>>>>>> !ENTRY net.refractions.udig.catalog.internal.wms 4 0 2006-06-08 
>>>>>> 19:08:18.951
>>>>>> !MESSAGE GetCapabilities: 
>>>>>> http://localhost/Scripts/mapserv.exe?REQUEST=GetCapabilities&MAP=D:%5Cweb%5Cheidi_service%5Chgis%5Ctrentino.map&VERSION=1.1.1&SERVICE=WMS
>>>>>>  
>>>>>>
>>>>>>
>>>>>> !ENTRY net.refractions.udig.catalog.internal.wms 4 0 2006-06-08 
>>>>>> 19:08:24.420
>>>>>> !MESSAGE GetMap: 
>>>>>> http://localhost/Scripts/mapserv.exe?SERVICE=WMS&LAYERS=i_dep,fiumi,sma_con,viapri,laghi,DTM,ammcom,i_dep_p,ammcmp,collett,CTP,ECW,sma_cob&EXCEPTIONS=application/vnd.ogc.se_xml&FORMAT=image/png&HEIGHT=474&TRANSPARENT=TRUE&MAP=D:\Web\Heidi_Service\HGis\trentino.map&REQUEST=GetMap&BBOX=-247941.17083210908,5334613.737657672,-194536.86526633866,5359024.191696413&WIDTH=1037&STYLES=,,,,,,,,,,,,&SRS=EPSG:26591&VERSION=1.1.1
>>>>>>  
>>>>>>
>>>>>>
>>>>>> Piero
>>>>>>
>>>>>> -- 
>>>>>> Il contenuto di questo messaggio e' confidenziale e la lettura non
>>>>>> autorizzata dello stesso viola i diritti di privacy del mittente e 
>>>>>> del
>>>>>> destinatario.
>>>>>>
>>>>>> Se avete ricevuto questo messaggio per errore siete pregati di
>>>>>> rimuoverlo dal Vostro sistema.
>>>>>> _______________________________________________
>>>>>> User-friendly Desktop Internet GIS (uDig)
>>>>>> http://udig.refractions.net
>>>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> User-friendly Desktop Internet GIS (uDig)
>>>>> http://udig.refractions.net
>>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>>>
>>>>
>>>
>>>
>>> -- 
>>> Il contenuto di questo messaggio e' confidenziale e la lettura non
>>> autorizzata dello stesso viola i diritti di privacy del mittente e del
>>> destinatario.
>>>
>>> Se avete ricevuto questo messaggio per errore siete pregati di
>>> rimuoverlo dal Vostro sistema.
>>
>>
> 
> 
> -- 
> Il contenuto di questo messaggio e' confidenziale e la lettura non
> autorizzata dello stesso viola i diritti di privacy del mittente e del
> destinatario.
> 
> Se avete ricevuto questo messaggio per errore siete pregati di
> rimuoverlo dal Vostro sistema.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to