[Geoserver-users] bug in GeoServer 1.6.2 ?

Hi all,
Now I'm using GeoServer v1.5.3, v1.5.4 and v1.6.2 on 3 PCs. I create the
same FeatureType on 3 PCs with my CRS:
2000105=PROJCS["VN-2000 / UTM zone 48N", GEOGCS["VN-2000", DATUM["Vietnam
2000", SPHEROID["WGS 84", 6378137.0, 298.257223563,
AUTHORITY["EPSG","7030"]], TOWGS84[-192.873, -39.382,-111.202,
0.00928836,-0.01975479, 0.00427372, 1.000000252906278],
AUTHORITY["EPSG","6756"]], PRIMEM["Greenwich", 0.0,
AUTHORITY["EPSG","8901"]], UNIT["degree", 0.017453292519943295],
AXIS["Geodetic longitude", EAST], AXIS["Geodetic latitude", NORTH],
AUTHORITY["EPSG","4756"]], PROJECTION["Transverse Mercator",
AUTHORITY["EPSG","9807"]], PARAMETER["central_meridian", 105.0],
PARAMETER["latitude_of_origin", 0.0], PARAMETER["scale_factor", 0.9996],
PARAMETER["false_easting", 500000.0], PARAMETER["false_northing", 0.0],
UNIT["m", 1.0], AXIS["Easting", EAST], AXIS["Northing", NORTH],
AUTHORITY["EPSG","2000105"]]

* Information of my FeatureType:
Name: hcm_dghc_qh_25000
SRS: 2000105
Data min X: 647398.8928454181 , Data min Y: 1147048.262926546
Data max X: 722267.2067535208 , Data max Y: 1234572.2551661464
Min Long: 106.35168608544143 , Min Lat: 10.372723001802987
Max Long: 107.03182331091746 , Max Lat: 11.160256768823237

When I send the following request with SRS EPSG:2000105 on 3 GeoServers:
http://localhost:8080/geoserver/wms?bbox=643655.477150013,1142672.063314566,726010.6224489259,1238948.4547781264&styles=&Format=image/png&request=GetMap&layers=webgis:hcm_dghc_qh_25000&width=520&height=550&srs=EPSG:2000105

All are good.

But when I send the following request with SRS EPSG:4326 on 3 GeoServers:
http://localhost:8080/geoserver/wms?bbox=106.35168608544143,10.372723001802987,107.03182331091746,11.160256768823237&styles=&Format=image/png&request=GetMap&layers=webgis:hcm_dghc_qh_25000&width=520&height=550&srs=EPSG:4326

Results of GeoServer v1.5.3 and v1.5.4 are good, but result of GeoServer
v1.6.2 is a white image.

Is this a bug?

Best Regards,
--
View this message in context: http://www.nabble.com/bug-in-GeoServer-1.6.2---tp16089632p16089632.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Just a guess, but what happens if you add &service=wms&version=1.1.0 to your request?

-Jukka Rahkonen-

-----Alkuperäinen viesti-----
Lähettäjä: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net]
Puolesta Tai Nguyen
Lähetetty: 17. maaliskuuta 2008 9:37
Vastaanottaja: geoserver-users@lists.sourceforge.net
Aihe: [Geoserver-users] bug in GeoServer 1.6.2 ?

Hi all,
Now I'm using GeoServer v1.5.3, v1.5.4 and v1.6.2 on 3 PCs. I
create the same FeatureType on 3 PCs with my CRS:
2000105=PROJCS["VN-2000 / UTM zone 48N", GEOGCS["VN-2000",
DATUM["Vietnam 2000", SPHEROID["WGS 84", 6378137.0,
298.257223563, AUTHORITY["EPSG","7030"]], TOWGS84[-192.873,
-39.382,-111.202, 0.00928836,-0.01975479, 0.00427372,
1.000000252906278], AUTHORITY["EPSG","6756"]],
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295], AXIS["Geodetic
longitude", EAST], AXIS["Geodetic latitude", NORTH],
AUTHORITY["EPSG","4756"]], PROJECTION["Transverse Mercator",
AUTHORITY["EPSG","9807"]], PARAMETER["central_meridian",
105.0], PARAMETER["latitude_of_origin", 0.0],
PARAMETER["scale_factor", 0.9996], PARAMETER["false_easting",
500000.0], PARAMETER["false_northing", 0.0], UNIT["m", 1.0],
AXIS["Easting", EAST], AXIS["Northing", NORTH],
AUTHORITY["EPSG","2000105"]]

* Information of my FeatureType:
Name: hcm_dghc_qh_25000
SRS: 2000105
Data min X: 647398.8928454181 , Data min Y:
  1147048.262926546
Data max X: 722267.2067535208 , Data max Y:
1234572.2551661464
Min Long: 106.35168608544143 , Min Lat: 10.372723001802987
Max Long: 107.03182331091746 , Max Lat: 11.160256768823237

When I send the following request with SRS EPSG:2000105 on 3
GeoServers:
http://localhost:8080/geoserver/wms?bbox=643655.477150013,1142

672.063314566,726010.6224489259,1238948.4547781264> &styles=&Format=image/png&request=GetMap&layers=webgis:hcm_dgh

c_qh_25000&width=520&height=550&srs=EPSG:2000105

All are good.

But when I send the following request with SRS EPSG:4326 on 3
GeoServers:
http://localhost:8080/geoserver/wms?bbox=106.35168608544143,10

.372723001802987,107.03182331091746,11.160256768823237> &styles=&Format=image/png&request=GetMap&layers=webgis:hcm_dgh

c_qh_25000&width=520&height=550&srs=EPSG:4326

Results of GeoServer v1.5.3 and v1.5.4 are good, but result
of GeoServer
v1.6.2 is a white image.

Best Regards,
--
View this message in context:
http://www.nabble.com/bug-in-GeoServer-1.6.2---tp16089632p1608

9632.html

Sent from the GeoServer - User mailing list archive at Nabble.com.

--------------------------------------------------------------
-----------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Rahkonen Jukka ha scritto:

Just a guess, but what happens if you add &service=wms&version=1.1.0 to your request?

Good catch... in fact those requests are invalid, service and version must always be included.
Yet, I tried a request without those against a demo 1.6.2 install and it
did work:
http://geo.openplans.org:8080/geoserver/wms?WIDTH=1200&SRS=EPSG%3A26713&LAYERS=opengeo%3Aarchsites&HEIGHT=750&STYLES=&FORMAT=image%2Fpng&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&BBOX=574812.5335914356,4905289.930762653,623436.8826702716,4935680.148936926

Tai, is there any chance you can send me a sample of your data by private mail so that I can debug the issue on my pc?

Cheers
Andrea

Hi Rahkonen,
With GeoServer 1.5.3, 1.5.4 and 1.6.2, WMS requests do not need to use the
parameters "service" and "version".
I tried to append "&service=wms&version=1.1.0" but GeoServer 1.6.2 still
returned a white image.

To Andrea: Sorry, I can not send you that data, because it is copyrighted by
my company.

Best Regards,

aaime wrote:

Rahkonen Jukka ha scritto:

Just a guess, but what happens if you add &service=wms&version=1.1.0 to
your request?

Good catch... in fact those requests are invalid, service and version
must always be included.
Yet, I tried a request without those against a demo 1.6.2 install and it
did work:
http://geo.openplans.org:8080/geoserver/wms?WIDTH=1200&SRS=EPSG%3A26713&LAYERS=opengeo%3Aarchsites&HEIGHT=750&STYLES=&FORMAT=image%2Fpng&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&BBOX=574812.5335914356,4905289.930762653,623436.8826702716,4935680.148936926

Tai, is there any chance you can send me a sample of your data by
private mail so that I can debug the issue on my pc?

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
View this message in context: http://www.nabble.com/bug-in-GeoServer-1.6.2---tp16089632p16091873.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Tai Nguyen ha scritto:

Hi Rahkonen,
With GeoServer 1.5.3, 1.5.4 and 1.6.2, WMS requests do not need to use the
parameters "service" and "version".
I tried to append "&service=wms&version=1.1.0" but GeoServer 1.6.2 still
returned a white image.

It is not required by geoserver because we're more lenient than what the
standard asks for, but those requests are invalid the same.

To Andrea: Sorry, I can not send you that data, because it is copyrighted by
my company.

I guess you'll need to find a way to reproduce the same issue on some free data, or I won't able to make a fix for you.
Cheers
Andera

Next thing that comes into my mind is that somehow your 1.6 installation does not find the definitions for epsg:2000105, or they are wrong. Therefore you get the map OK when your request is having bbox in the same projection as the data. However, when the bbox is projected from epsg:4326 to 2000105 the projection goes wrong and Geoserver hits a wrong place on Earth. You have no data inside that faulty calculated projected bbox and as a result you get an empty map.

-Jukka-

-----Alkuperäinen viesti-----
Lähettäjä: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net]
Puolesta Tai Nguyen
Lähetetty: 17. maaliskuuta 2008 12:40
Vastaanottaja: geoserver-users@lists.sourceforge.net
Aihe: Re: [Geoserver-users] bug in GeoServer 1.6.2 ?

Hi Rahkonen,
With GeoServer 1.5.3, 1.5.4 and 1.6.2, WMS requests do not
need to use the parameters "service" and "version".
I tried to append "&service=wms&version=1.1.0" but GeoServer
1.6.2 still returned a white image.

To Andrea: Sorry, I can not send you that data, because it is
copyrighted by my company.

Best Regards,

aaime wrote:
>
> Rahkonen Jukka ha scritto:
>> Just a guess, but what happens if you add
&service=wms&version=1.1.0
>> to your request?
>
> Good catch... in fact those requests are invalid, service
and version
> must always be included.
> Yet, I tried a request without those against a demo 1.6.2
install and
> it did work:
>
http://geo.openplans.org:8080/geoserver/wms?WIDTH=1200&SRS=EPSG%3A2671
>
3&LAYERS=opengeo%3Aarchsites&HEIGHT=750&STYLES=&FORMAT=image%2Fpng&REQ
>
UEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&BBOX=574812.53
> 35914356,4905289.930762653,623436.8826702716,4935680.148936926
>
> Tai, is there any chance you can send me a sample of your data by
> private mail so that I can debug the issue on my pc?
>
> Cheers
> Andrea
>
>
----------------------------------------------------------------------
> --- This SF.net email is sponsored by: Microsoft Defy all
challenges.
> Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>

--
View this message in context:
http://www.nabble.com/bug-in-GeoServer-1.6.2---tp16089632p1609
1873.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--------------------------------------------------------------
-----------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi Jukka,

I defined EPSG:2000105 in $GEOSERVER/data/user_projections/epsg.properties
with GeoServer v1.5.3, v1.5.4 and v1.6.2. My map only displays on v1.5.3 and
v1.5.4 with EPSG:4326, but v1.6.2 does not.

Best Regards,

Jukka Rahkonen wrote:

Next thing that comes into my mind is that somehow your 1.6 installation
does not find the definitions for epsg:2000105, or they are wrong.
Therefore you get the map OK when your request is having bbox in the same
projection as the data. However, when the bbox is projected from
epsg:4326 to 2000105 the projection goes wrong and Geoserver hits a wrong
place on Earth. You have no data inside that faulty calculated projected
bbox and as a result you get an empty map.

-Jukka-

-----Alkuperäinen viesti-----
Lähettäjä: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net]
Puolesta Tai Nguyen
Lähetetty: 17. maaliskuuta 2008 12:40
Vastaanottaja: geoserver-users@lists.sourceforge.net
Aihe: Re: [Geoserver-users] bug in GeoServer 1.6.2 ?

Hi Rahkonen,
With GeoServer 1.5.3, 1.5.4 and 1.6.2, WMS requests do not
need to use the parameters "service" and "version".
I tried to append "&service=wms&version=1.1.0" but GeoServer
1.6.2 still returned a white image.

To Andrea: Sorry, I can not send you that data, because it is
copyrighted by my company.

Best Regards,

aaime wrote:
>
> Rahkonen Jukka ha scritto:
>> Just a guess, but what happens if you add
&service=wms&version=1.1.0
>> to your request?
>
> Good catch... in fact those requests are invalid, service
and version
> must always be included.
> Yet, I tried a request without those against a demo 1.6.2
install and
> it did work:
>
http://geo.openplans.org:8080/geoserver/wms?WIDTH=1200&SRS=EPSG%3A2671
>
3&LAYERS=opengeo%3Aarchsites&HEIGHT=750&STYLES=&FORMAT=image%2Fpng&REQ
>
UEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&BBOX=574812.53
> 35914356,4905289.930762653,623436.8826702716,4935680.148936926
>
> Tai, is there any chance you can send me a sample of your data by
> private mail so that I can debug the issue on my pc?
>
> Cheers
> Andrea
>
>
----------------------------------------------------------------------
> --- This SF.net email is sponsored by: Microsoft Defy all
challenges.
> Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>

--
View this message in context:
http://www.nabble.com/bug-in-GeoServer-1.6.2---tp16089632p1609
1873.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--------------------------------------------------------------
-----------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
View this message in context: http://www.nabble.com/bug-in-GeoServer-1.6.2---tp16089632p16112412.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

I have met a bug with GeoServer 1.6.2

I use Mapbuilder to create the map. With Geoserver 1.5.3, when I click on the map, I get one feature from Geoserver. But with Geoserver 1.6.2, I get two features from Geoserver.


Nguyễn Đình Toán


Neu khong doc duoc tieng Viet, vui long vao menu View → chon Encoding → chon Unicode (UTF-8). Cam on.

Toan Nguyen ha scritto:

I have met a bug with GeoServer 1.6.2

I use Mapbuilder to create the map. With Geoserver 1.5.3, when I click on the map, I get one feature from Geoserver. But with Geoserver 1.6.2, I get two features from Geoserver.

Is MapBuiler doing a GetMap GET style with a bbox parameter?
What you're seeing might be this issue:
http://jira.codehaus.org/browse/GEOS-1768

Cheers
Andrea