[Geoserver-users] GeoWebCache GridSet for EPSG:2263

I am having trouble getting GeoWebCache to work with my data in its native SRS.

When using the OpenLayers demo request I get tiles with URL lie the following:

http://localhost:8088/geoserver/gwc/service/wms?LAYERS=doitt%3ASUBWAY_STATION_LABEL&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=-8238077.1593164,4950673.4472852,-8218509.2800781,4970241.3265234&WIDTH=256&HEIGHT=256

However, when attempting to get tiles with srs=EPSG:2263 (http://localhost:8088/geoserver/gwc/service/wms/wms?service=WMS&request=GetMap&version=1.1.1&format=image/png8&width=2560&&height=2560&layers=doitt:SUBWAY_STATION_LABEL&bbox=980000,194666.7,984444.4,199111.1&srs=EPSG:2263) I receive the following error in the log:

09 Apr 15:10:13 ERROR [geowebcache.GeoWebCacheDispatcher] - Unable to match requested SRS EPSG:2263 to those supported by layer http://localhost:8088/geoserver/gwc/service/wms/wms
09 Apr 15:10:13 ERROR [geowebcache.GeoWebCacheDispatcher] - Unable to find handler for service "rest" http://localhost:8088/geoserver/gwc/service/rest/web/geowebcache_logo.png

The GWC demo page only shows EPSG:900913 and EPSG:4326 as available for doitt:SUBWAY_STATION_LABEL, so I assume I have something misconfigured, but I do not know what.

I have attached the server log and the following config files:

web.xml
geowebcache.xml (accidently excluded from the first message to the list)
geowebcache-servlet.xml
featuretype.xml

geowebcache-servlet.xml (12.1 KB)

web.xml (2.69 KB)

featuretype.xml (954 Bytes)

server.log (10.6 KB)

geowebcache.xml (1.97 KB)

Hm, I'm confused. It looks like you are running GeoServer 2.0.x (from subversion?) inside Eclipse. But then you shouldn't have geowebcache-servlet.xml at all (it's applicationContext.xml, users should not modify it). And the web.xml should be that of GeoServer. So how did you put this together?

Before I realized this, I checked your geowebcache.xml in a standalone GWC 1.2.2 and that appears to work fine.

-Arne

ps. The /rest problem (logo not showing up) has been causing me a lot of grief, but I can't find a cause and I can't reproduce it outside of Eclipse, so I've decided not to waste more time on it.

Keane, Tim wrote:

I am having trouble getting GeoWebCache to work with my data in its native SRS.

When using the OpenLayers demo request I get tiles with URL lie the following:

http://localhost:8088/geoserver/gwc/service/wms?LAYERS=doitt%3ASUBWAY_STATION_LABEL&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=-8238077.1593164,4950673.4472852,-8218509.2800781,4970241.3265234&WIDTH=256&HEIGHT=256

However, when attempting to get tiles with srs=EPSG:2263 (http://localhost:8088/geoserver/gwc/service/wms/wms?service=WMS&request=GetMap&version=1.1.1&format=image/png8&width=2560&&height=2560&layers=doitt:SUBWAY_STATION_LABEL&bbox=980000,194666.7,984444.4,199111.1&srs=EPSG:2263) I receive the following error in the log:

09 Apr 15:10:13 ERROR [geowebcache.GeoWebCacheDispatcher] - Unable to match requested SRS EPSG:2263 to those supported by layer http://localhost:8088/geoserver/gwc/service/wms/wms
09 Apr 15:10:13 ERROR [geowebcache.GeoWebCacheDispatcher] - Unable to find handler for service "rest" http://localhost:8088/geoserver/gwc/service/rest/web/geowebcache_logo.png

The GWC demo page only shows EPSG:900913 and EPSG:4326 as available for doitt:SUBWAY_STATION_LABEL, so I assume I have something misconfigured, but I do not know what.

I have attached the server log and the following config files:

web.xml
geowebcache.xml (accidently excluded from the first message to the list)
geowebcache-servlet.xml
featuretype.xml
  

Arne-

I have the geoserver 2.0.1 war and the geowebcache 1.2.2 war both imported into eclipse.

-Tim

-----Original Message-----
From: Arne Kepp [mailto:arne@anonymised.com]
Sent: Friday, April 09, 2010 7:11 PM
To: Keane, Tim
Cc: 'Geoserver-users@lists.sourceforge.net'
Subject: Re: [Geoserver-users] GeoWebCache GridSet for EPSG:2263

Hm, I'm confused. It looks like you are running GeoServer 2.0.x (from
subversion?) inside Eclipse. But then you shouldn't have
geowebcache-servlet.xml at all (it's applicationContext.xml, users
should not modify it). And the web.xml should be that of GeoServer. So
how did you put this together?

Before I realized this, I checked your geowebcache.xml in a standalone
GWC 1.2.2 and that appears to work fine.

-Arne

ps. The /rest problem (logo not showing up) has been causing me a lot of
grief, but I can't find a cause and I can't reproduce it outside of
Eclipse, so I've decided not to waste more time on it.

Keane, Tim wrote:

I am having trouble getting GeoWebCache to work with my data in its native SRS.

When using the OpenLayers demo request I get tiles with URL lie the following:

http://localhost:8088/geoserver/gwc/service/wms?LAYERS=doitt%3ASUBWAY_STATION_LABEL&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=-8238077.1593164,4950673.4472852,-8218509.2800781,4970241.3265234&WIDTH=256&HEIGHT=256

However, when attempting to get tiles with srs=EPSG:2263 (http://localhost:8088/geoserver/gwc/service/wms/wms?service=WMS&request=GetMap&version=1.1.1&format=image/png8&width=2560&&height=2560&layers=doitt:SUBWAY_STATION_LABEL&bbox=980000,194666.7,984444.4,199111.1&srs=EPSG:2263) I receive the following error in the log:

09 Apr 15:10:13 ERROR [geowebcache.GeoWebCacheDispatcher] - Unable to match requested SRS EPSG:2263 to those supported by layer http://localhost:8088/geoserver/gwc/service/wms/wms
09 Apr 15:10:13 ERROR [geowebcache.GeoWebCacheDispatcher] - Unable to find handler for service "rest" http://localhost:8088/geoserver/gwc/service/rest/web/geowebcache_logo.png

The GWC demo page only shows EPSG:900913 and EPSG:4326 as available for doitt:SUBWAY_STATION_LABEL, so I assume I have something misconfigured, but I do not know what.

I have attached the server log and the following config files:

web.xml
geowebcache.xml (accidently excluded from the first message to the list)
geowebcache-servlet.xml
featuretype.xml
  

Sorry, I don't think I can help you with that setup. I don't know how Eclipse decides what classes to use in that case, your logs suggest it mixes them up.

GS 2.0.1 (and 2.0.x, for the time being) are both linked to the GWC 1.2.1 JAR file, we have not done any work on integrating 1.2.2. The reason being that it's not clear when the next GS release will happen, so we may well be at 1.2.3 or 1.2.4 by then.

If you want to run this in eclipse I suggest that you follow the QuickStart guide, but instead of checking out trunk or 2.0.x, get the 2.0.1 tag.

-Arne

1: http://docs.geoserver.org/stable/en/developer/quickstart/index.html

Keane, Tim wrote:

Arne-

I have the geoserver 2.0.1 war and the geowebcache 1.2.2 war both imported into eclipse.

-Tim

-----Original Message-----
From: Arne Kepp [mailto:arne@anonymised.com] Sent: Friday, April 09, 2010 7:11 PM
To: Keane, Tim
Cc: 'Geoserver-users@lists.sourceforge.net'
Subject: Re: [Geoserver-users] GeoWebCache GridSet for EPSG:2263

Hm, I'm confused. It looks like you are running GeoServer 2.0.x (from subversion?) inside Eclipse. But then you shouldn't have geowebcache-servlet.xml at all (it's applicationContext.xml, users should not modify it). And the web.xml should be that of GeoServer. So how did you put this together?

Before I realized this, I checked your geowebcache.xml in a standalone GWC 1.2.2 and that appears to work fine.

-Arne

ps. The /rest problem (logo not showing up) has been causing me a lot of grief, but I can't find a cause and I can't reproduce it outside of Eclipse, so I've decided not to waste more time on it.

Keane, Tim wrote:
  

I am having trouble getting GeoWebCache to work with my data in its native SRS.

When using the OpenLayers demo request I get tiles with URL lie the following:

http://localhost:8088/geoserver/gwc/service/wms?LAYERS=doitt%3ASUBWAY_STATION_LABEL&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=-8238077.1593164,4950673.4472852,-8218509.2800781,4970241.3265234&WIDTH=256&HEIGHT=256

However, when attempting to get tiles with srs=EPSG:2263 (http://localhost:8088/geoserver/gwc/service/wms/wms?service=WMS&request=GetMap&version=1.1.1&format=image/png8&width=2560&&height=2560&layers=doitt:SUBWAY_STATION_LABEL&bbox=980000,194666.7,984444.4,199111.1&srs=EPSG:2263) I receive the following error in the log:

09 Apr 15:10:13 ERROR [geowebcache.GeoWebCacheDispatcher] - Unable to match requested SRS EPSG:2263 to those supported by layer http://localhost:8088/geoserver/gwc/service/wms/wms
09 Apr 15:10:13 ERROR [geowebcache.GeoWebCacheDispatcher] - Unable to find handler for service "rest" http://localhost:8088/geoserver/gwc/service/rest/web/geowebcache_logo.png

The GWC demo page only shows EPSG:900913 and EPSG:4326 as available for doitt:SUBWAY_STATION_LABEL, so I assume I have something misconfigured, but I do not know what.

I have attached the server log and the following config files:

web.xml
geowebcache.xml (accidently excluded from the first message to the list)
geowebcache-servlet.xml
featuretype.xml
  

We currently have web apps in the DMZ accessing our geoserver 2.0.1 running inside our firewall. My intention is to get GWC running in the DMZ as well and this is why I am first trying to run each servlet as a separate web app in eclipse. I replaced the GWC 1.2.2 with 1.2.1 but I am still getting the same results.

-----Original Message-----
From: Arne Kepp [mailto:arne@anonymised.com]
Sent: 2010-04-12 15:50
To: Keane, Tim
Cc: 'Geoserver-users@lists.sourceforge.net'
Subject: Re: [Geoserver-users] GeoWebCache GridSet for EPSG:2263

Sorry, I don't think I can help you with that setup. I don't know how
Eclipse decides what classes to use in that case, your logs suggest it
mixes them up.

GS 2.0.1 (and 2.0.x, for the time being) are both linked to the GWC
1.2.1 JAR file, we have not done any work on integrating 1.2.2. The
reason being that it's not clear when the next GS release will happen,
so we may well be at 1.2.3 or 1.2.4 by then.

If you want to run this in eclipse I suggest that you follow the
QuickStart guide, but instead of checking out trunk or 2.0.x, get the
2.0.1 tag.

-Arne

1: http://docs.geoserver.org/stable/en/developer/quickstart/index.html

-----Original Message-----
From: Arne Kepp [mailto:arne@anonymised.com]
Sent: Friday, April 09, 2010 7:11 PM
To: Keane, Tim
Cc: 'Geoserver-users@lists.sourceforge.net'
Subject: Re: [Geoserver-users] GeoWebCache GridSet for EPSG:2263

Hm, I'm confused. It looks like you are running GeoServer 2.0.x (from
subversion?) inside Eclipse. But then you shouldn't have
geowebcache-servlet.xml at all (it's applicationContext.xml, users
should not modify it). And the web.xml should be that of GeoServer. So
how did you put this together?

Before I realized this, I checked your geowebcache.xml in a standalone
GWC 1.2.2 and that appears to work fine.

-Arne

ps. The /rest problem (logo not showing up) has been causing me a lot of
grief, but I can't find a cause and I can't reproduce it outside of
Eclipse, so I've decided not to waste more time on it.

Keane, Tim wrote:

I am having trouble getting GeoWebCache to work with my data in its native SRS.

When using the OpenLayers demo request I get tiles with URL lie the following:

http://localhost:8088/geoserver/gwc/service/wms?LAYERS=doitt%3ASUBWAY_STATION_LABEL&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=-8238077.1593164,4950673.4472852,-8218509.2800781,4970241.3265234&WIDTH=256&HEIGHT=256

However, when attempting to get tiles with srs=EPSG:2263 (http://localhost:8088/geoserver/gwc/service/wms/wms?service=WMS&request=GetMap&version=1.1.1&format=image/png8&width=2560&&height=2560&layers=doitt:SUBWAY_STATION_LABEL&bbox=980000,194666.7,984444.4,199111.1&srs=EPSG:2263) I receive the following error in the log:

09 Apr 15:10:13 ERROR [geowebcache.GeoWebCacheDispatcher] - Unable to match requested SRS EPSG:2263 to those supported by layer http://localhost:8088/geoserver/gwc/service/wms/wms
09 Apr 15:10:13 ERROR [geowebcache.GeoWebCacheDispatcher] - Unable to find handler for service "rest" http://localhost:8088/geoserver/gwc/service/rest/web/geowebcache_logo.png

The GWC demo page only shows EPSG:900913 and EPSG:4326 as available for doitt:SUBWAY_STATION_LABEL, so I assume I have something misconfigured, but I do not know what.

I have attached the server log and the following config files:

web.xml
geowebcache.xml (accidently excluded from the first message to the list)
geowebcache-servlet.xml
featuretype.xml
  

I have attached two pictures one from ArcIMS (ims.png) and one from GeoServer 2.0.1 (gs.png).

I need t o figure out how to get the length labels for parcel boundaries on the inside of the parcel. In ArcIMS the labels follow the direction of the line, however in GeoServer the labels are being forced to the top of the line.

I have tried all possible combinations of the vendor options "followLine" and "forceLeftToRigth" but have not had success.

<VendorOption name="followLine">true</VendorOption>
<VendorOption name="forceLeftToRigth">true</VendorOption>

<VendorOption name="followLine">false</VendorOption>
<VendorOption name="forceLeftToRigth">true</VendorOption>

<VendorOption name="followLine">true</VendorOption>
<VendorOption name="forceLeftToRigth">false</VendorOption>

<VendorOption name="followLine">false</VendorOption>
<VendorOption name="forceLeftToRigth">false</VendorOption>

Is this possible?

Also can I use a regex or other type of expression to force the numeric value to always show only 2 decimal places, or must I do that with the data?

gs.jpg

ims.jpg

On Tue, Apr 27, 2010 at 2:39 PM, Keane, Tim <tkeane@anonymised.com> wrote:

I have attached two pictures one from ArcIMS (ims.png) and one from GeoServer 2.0.1 (gs.png).

I need t o figure out how to get the length labels for parcel boundaries on the inside of the parcel. In ArcIMS the labels follow the direction of the line, however in GeoServer the labels are being forced to the top of the line.

I have tried all possible combinations of the vendor options "followLine" and "forceLeftToRigth" but have not had success.

<VendorOption name="followLine">true</VendorOption>
<VendorOption name="forceLeftToRigth">true</VendorOption>

<VendorOption name="followLine">false</VendorOption>
<VendorOption name="forceLeftToRigth">true</VendorOption>

<VendorOption name="followLine">true</VendorOption>
<VendorOption name="forceLeftToRigth">false</VendorOption>

<VendorOption name="followLine">false</VendorOption>
<VendorOption name="forceLeftToRigth">false</VendorOption>

Is this possible?

Is it related to how you spell right?

Ian
--
Ian Turton

Hi

for the numeric value stuff you can have a look here:

http://blog.geoserver.org/2010/02/08/geoserver-hidden-treasures-filter-functions/

regards
Stefan

----- Originalnachricht -----
Von: "Keane, Tim" <tkeane@anonymised.com>
Gesendet: Die, 27.4.2010 20:39
An: 'Geoserver-users@lists.sourceforge.net' <Geoserver-users@lists.sourceforge.net>
Betreff: [Geoserver-users] SLD Line Labeling for Cadastral Map

I have attached two pictures one from ArcIMS (ims.png) and one from GeoServer 2.0.1 (gs.png).

I need t o figure out how to get the length labels for parcel boundaries on the inside of the parcel. In ArcIMS the labels follow the direction of the line, however in GeoServer the labels are being forced to the top of the line.

I have tried all possible combinations of the vendor options "followLine" and "forceLeftToRigth" but have not had success.

<VendorOption name="followLine">true</VendorOption>
<VendorOption name="forceLeftToRigth">true</VendorOption>

<VendorOption name="followLine">false</VendorOption>
<VendorOption name="forceLeftToRigth">true</VendorOption>

<VendorOption name="followLine">true</VendorOption>
<VendorOption name="forceLeftToRigth">false</VendorOption>

<VendorOption name="followLine">false</VendorOption>
<VendorOption name="forceLeftToRigth">false</VendorOption>

Is this possible?

Also can I use a regex or other type of expression to force the numeric value to always show only 2 decimal places, or must I do that with the data?

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

RIGTH!

Thanks... :stuck_out_tongue:

-----Original Message-----
From: Ian Turton [mailto:ijturton@anonymised.com]
Sent: Tuesday, April 27, 2010 3:48 PM
To: Keane, Tim
Cc: Geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] SLD Line Labeling for Cadastral Map

On Tue, Apr 27, 2010 at 2:39 PM, Keane, Tim <tkeane@anonymised.com> wrote:

I have attached two pictures one from ArcIMS (ims.png) and one from GeoServer 2.0.1 (gs.png).

I need t o figure out how to get the length labels for parcel boundaries on the inside of the parcel. In ArcIMS the labels follow the direction of the line, however in GeoServer the labels are being forced to the top of the line.

I have tried all possible combinations of the vendor options "followLine" and "forceLeftToRigth" but have not had success.

<VendorOption name="followLine">true</VendorOption>
<VendorOption name="forceLeftToRigth">true</VendorOption>

<VendorOption name="followLine">false</VendorOption>
<VendorOption name="forceLeftToRigth">true</VendorOption>

<VendorOption name="followLine">true</VendorOption>
<VendorOption name="forceLeftToRigth">false</VendorOption>

<VendorOption name="followLine">false</VendorOption>
<VendorOption name="forceLeftToRigth">false</VendorOption>

Is this possible?

Is it related to how you spell right?

Ian
--
Ian Turton