[Geoserver-users] Setting multiple EPSG codes?

Hi,

Is there a way that I can set multiple EPSG codes for a single WMS? I can
do this when using ESRI's WMS, by manually editing the capabilities file,
but I haven't found a way to do this in GeoServer. I would like to set up
EPSG codes for geographic coordinate systems, UTM, and state planes. Any
help would be greatly appreciated!

Thanks, Bob
--
View this message in context: http://www.nabble.com/Setting-multiple-EPSG-codes--tf4732205.html#a13531372
Sent from the GeoServer - User mailing list archive at Nabble.com.

For a single WMS request? Or for a single WMS service?

For the service, GeoServer by default comes with all the codes it knows about turned on. Which is the full epsg database, plus some extras. If there are ones that are not in there you can add them http://docs.codehaus.org/display/GEOSDOC/Custom+projection+definition+in+Geoserver+1.5.0+(onwards)

For a single WMS request - uh, I don't think that makes sense? The layers wouldn't line up.

Chris

Bob Nutsch wrote:

Hi,

Is there a way that I can set multiple EPSG codes for a single WMS? I can
do this when using ESRI's WMS, by manually editing the capabilities file,
but I haven't found a way to do this in GeoServer. I would like to set up
EPSG codes for geographic coordinate systems, UTM, and state planes. Any
help would be greatly appreciated!

Thanks, Bob

Hi Chris,

Just for a WMS service, thanks. I had forgotten that all codes are served
up by GeoServer, thanks for the reminder.

I wonder how much if any performance hit there is by having these all codes
available? It seems to take a long time to view the properties of a
GeoServer WMS when viewing that WMS with QGIS and ArcMap. For example, the
processor on my PC gets pegged when first opening the WMS with ArcMap and
when viewing the properties within QGIS.

Is there a way that I could modify the EPSG list of codes, reducing it to a
fewer number to test the performance difference?

Thanks again, Bob

Chris Holmes wrote:

For a single WMS request? Or for a single WMS service?

For the service, GeoServer by default comes with all the codes it knows
about turned on. Which is the full epsg database, plus some extras. If
there are ones that are not in there you can add them
http://docs.codehaus.org/display/GEOSDOC/Custom+projection+definition+in+Geoserver+1.5.0+(onwards)

For a single WMS request - uh, I don't think that makes sense? The
layers wouldn't line up.

Chris

Bob Nutsch wrote:

Hi,

Is there a way that I can set multiple EPSG codes for a single WMS? I
can
do this when using ESRI's WMS, by manually editing the capabilities file,
but I haven't found a way to do this in GeoServer. I would like to set
up
EPSG codes for geographic coordinate systems, UTM, and state planes. Any
help would be greatly appreciated!

Thanks, Bob

begin:vcard
fn:Chris Holmes
n:Holmes;Chris
org:The Open Planning Project
adr:;;349 W. 12th Street, #3;New York;NY;10014;USA
email;internet:cholmes@anonymised.com
title:Managing Director, Strategic Development
x-mozilla-html:FALSE
url:http://topp.openplans.org
version:2.1
end:vcard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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/Setting-multiple-EPSG-codes--tf4732205.html#a13537005
Sent from the GeoServer - User mailing list archive at Nabble.com.

You'd never believe it bob, but this is one of the most common requests
to the geoserver-users list!

I believe there's a JIRA open for this, but we don't have a great
solution for right now.

Here's a bit of a hack that should work for you:

1) Navigate to your WMS capdoc with a web browser.
2) Save that capdoc to disk
3) Open and edit the capdoc file with a text editor
4) Remove all the EPSG codes you're not interested in (LOTS of them!)
5) Save that changed capdoc, and put it somewhere on a web server
6) When a program asks you for a cap url, point it at the capdoc on the
webserver from step 5. Note that apache is very happy to respond to:

http://your-host.com/your-dir/capdoc.xml?request=getcapabilites&service=WMS

by completely ignoring everything after the "?". It just return the
file "capdoc.xml". So ArcGIS should work in this case.

If I might make a personal recommendation: ArcGIS is a terrible WMS
client. Use something besides ArcMap. Also, if QGIS has an issue, you
should definitely let them know on their mailing list or bug-tracker or
whatever, because we're way inside the OGC specs on this one and QGIS
has the wherewithal to do this right!

good luck,
--saul

On Thu, 2007-11-01 at 13:48 -0700, Bob Nutsch wrote:

Hi Chris,

Just for a WMS service, thanks. I had forgotten that all codes are served
up by GeoServer, thanks for the reminder.

I wonder how much if any performance hit there is by having these all codes
available? It seems to take a long time to view the properties of a
GeoServer WMS when viewing that WMS with QGIS and ArcMap. For example, the
processor on my PC gets pegged when first opening the WMS with ArcMap and
when viewing the properties within QGIS.

Is there a way that I could modify the EPSG list of codes, reducing it to a
fewer number to test the performance difference?

Thanks again, Bob

Chris Holmes wrote:
>
> For a single WMS request? Or for a single WMS service?
>
> For the service, GeoServer by default comes with all the codes it knows
> about turned on. Which is the full epsg database, plus some extras. If
> there are ones that are not in there you can add them
> http://docs.codehaus.org/display/GEOSDOC/Custom+projection+definition+in+Geoserver+1.5.0+(onwards)
>
> For a single WMS request - uh, I don't think that makes sense? The
> layers wouldn't line up.
>
> Chris
>
> Bob Nutsch wrote:
>> Hi,
>>
>> Is there a way that I can set multiple EPSG codes for a single WMS? I
>> can
>> do this when using ESRI's WMS, by manually editing the capabilities file,
>> but I haven't found a way to do this in GeoServer. I would like to set
>> up
>> EPSG codes for geographic coordinate systems, UTM, and state planes. Any
>> help would be greatly appreciated!
>>
>> Thanks, Bob
>
> begin:vcard
> fn:Chris Holmes
> n:Holmes;Chris
> org:The Open Planning Project
> adr:;;349 W. 12th Street, #3;New York;NY;10014;USA
> email;internet:cholmes@anonymised.com
> title:Managing Director, Strategic Development
> x-mozilla-html:FALSE
> url:http://topp.openplans.org
> version:2.1
> end:vcard
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>

Hi Saul,

Interesting info! In a way I think it's fantastic to have all of the codes
in there from the get-go, that can be a real time saver. Thanks for the
hack approach, I'll give it a shot.

Agreed, I've had troubles using other folks' WMS with ArcGIS. I find that
if I use the ESRI-flavored WMS it usually works OK but have sporadic issues
with a non-ESRI WMS. The ESRI WMS that I've tested so far have been
ArcIMS-based, not sure how well the ArcGIS Server-based WMS will work.

I do plan to run some more tests with QGIS and let them know what I've
found, thanks for the reminder. :slight_smile:

Thanks again, Bob

sjf8 wrote:

You'd never believe it bob, but this is one of the most common requests
to the geoserver-users list!

I believe there's a JIRA open for this, but we don't have a great
solution for right now.

Here's a bit of a hack that should work for you:

1) Navigate to your WMS capdoc with a web browser.
2) Save that capdoc to disk
3) Open and edit the capdoc file with a text editor
4) Remove all the EPSG codes you're not interested in (LOTS of them!)
5) Save that changed capdoc, and put it somewhere on a web server
6) When a program asks you for a cap url, point it at the capdoc on the
webserver from step 5. Note that apache is very happy to respond to:

http://your-host.com/your-dir/capdoc.xml?request=getcapabilites&service=WMS

by completely ignoring everything after the "?". It just return the
file "capdoc.xml". So ArcGIS should work in this case.

If I might make a personal recommendation: ArcGIS is a terrible WMS
client. Use something besides ArcMap. Also, if QGIS has an issue, you
should definitely let them know on their mailing list or bug-tracker or
whatever, because we're way inside the OGC specs on this one and QGIS
has the wherewithal to do this right!

good luck,
--saul

On Thu, 2007-11-01 at 13:48 -0700, Bob Nutsch wrote:

Hi Chris,

Just for a WMS service, thanks. I had forgotten that all codes are
served
up by GeoServer, thanks for the reminder.

I wonder how much if any performance hit there is by having these all
codes
available? It seems to take a long time to view the properties of a
GeoServer WMS when viewing that WMS with QGIS and ArcMap. For example,
the
processor on my PC gets pegged when first opening the WMS with ArcMap and
when viewing the properties within QGIS.

Is there a way that I could modify the EPSG list of codes, reducing it to
a
fewer number to test the performance difference?

Thanks again, Bob

Chris Holmes wrote:
>
> For a single WMS request? Or for a single WMS service?
>
> For the service, GeoServer by default comes with all the codes it knows
> about turned on. Which is the full epsg database, plus some extras.
If
> there are ones that are not in there you can add them
>
http://docs.codehaus.org/display/GEOSDOC/Custom+projection+definition+in+Geoserver+1.5.0+(onwards)
>
> For a single WMS request - uh, I don't think that makes sense? The
> layers wouldn't line up.
>
> Chris
>
> Bob Nutsch wrote:
>> Hi,
>>
>> Is there a way that I can set multiple EPSG codes for a single WMS? I
>> can
>> do this when using ESRI's WMS, by manually editing the capabilities
file,
>> but I haven't found a way to do this in GeoServer. I would like to
set
>> up
>> EPSG codes for geographic coordinate systems, UTM, and state planes.
Any
>> help would be greatly appreciated!
>>
>> Thanks, Bob
>
> begin:vcard
> fn:Chris Holmes
> n:Holmes;Chris
> org:The Open Planning Project
> adr:;;349 W. 12th Street, #3;New York;NY;10014;USA
> email;internet:cholmes@anonymised.com
> title:Managing Director, Strategic Development
> x-mozilla-html:FALSE
> url:http://topp.openplans.org
> version:2.1
> end:vcard
>
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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/Setting-multiple-EPSG-codes--tf4732205.html#a13537376
Sent from the GeoServer - User mailing list archive at Nabble.com.

Bob,

Is there an ArcGIS server WMS-output plugin? I know ArcGIS server can
CONSUME other people's WMS's, but I wasn't aware that it would serve
data up in a WMS-compatible format.

Not to be to cynical here, but I'm not surprised that ArcGIS only works
with the ESRI ArcIMS WMS connector. There's been some work (I've
heard), and it looks like 9.3 will play nicer with GeoServer than
previous incarnations did, so I'm hopeful it's getting better.

--saul

On Thu, 2007-11-01 at 14:07 -0700, Bob Nutsch wrote:

Hi Saul,

Interesting info! In a way I think it's fantastic to have all of the codes
in there from the get-go, that can be a real time saver. Thanks for the
hack approach, I'll give it a shot.

Agreed, I've had troubles using other folks' WMS with ArcGIS. I find that
if I use the ESRI-flavored WMS it usually works OK but have sporadic issues
with a non-ESRI WMS. The ESRI WMS that I've tested so far have been
ArcIMS-based, not sure how well the ArcGIS Server-based WMS will work.

I do plan to run some more tests with QGIS and let them know what I've
found, thanks for the reminder. :slight_smile:

Thanks again, Bob

sjf8 wrote:
>
> You'd never believe it bob, but this is one of the most common requests
> to the geoserver-users list!
>
> I believe there's a JIRA open for this, but we don't have a great
> solution for right now.
>
> Here's a bit of a hack that should work for you:
>
> 1) Navigate to your WMS capdoc with a web browser.
> 2) Save that capdoc to disk
> 3) Open and edit the capdoc file with a text editor
> 4) Remove all the EPSG codes you're not interested in (LOTS of them!)
> 5) Save that changed capdoc, and put it somewhere on a web server
> 6) When a program asks you for a cap url, point it at the capdoc on the
> webserver from step 5. Note that apache is very happy to respond to:
>
> http://your-host.com/your-dir/capdoc.xml?request=getcapabilites&service=WMS
>
> by completely ignoring everything after the "?". It just return the
> file "capdoc.xml". So ArcGIS should work in this case.
>
>
> If I might make a personal recommendation: ArcGIS is a terrible WMS
> client. Use something besides ArcMap. Also, if QGIS has an issue, you
> should definitely let them know on their mailing list or bug-tracker or
> whatever, because we're way inside the OGC specs on this one and QGIS
> has the wherewithal to do this right!
>
> good luck,
> --saul
>
> On Thu, 2007-11-01 at 13:48 -0700, Bob Nutsch wrote:
>> Hi Chris,
>>
>> Just for a WMS service, thanks. I had forgotten that all codes are
>> served
>> up by GeoServer, thanks for the reminder.
>>
>> I wonder how much if any performance hit there is by having these all
>> codes
>> available? It seems to take a long time to view the properties of a
>> GeoServer WMS when viewing that WMS with QGIS and ArcMap. For example,
>> the
>> processor on my PC gets pegged when first opening the WMS with ArcMap and
>> when viewing the properties within QGIS.
>>
>> Is there a way that I could modify the EPSG list of codes, reducing it to
>> a
>> fewer number to test the performance difference?
>>
>> Thanks again, Bob
>>
>>
>>
>> Chris Holmes wrote:
>> >
>> > For a single WMS request? Or for a single WMS service?
>> >
>> > For the service, GeoServer by default comes with all the codes it knows
>> > about turned on. Which is the full epsg database, plus some extras.
>> If
>> > there are ones that are not in there you can add them
>> >
>> http://docs.codehaus.org/display/GEOSDOC/Custom+projection+definition+in+Geoserver+1.5.0+(onwards)
>> >
>> > For a single WMS request - uh, I don't think that makes sense? The
>> > layers wouldn't line up.
>> >
>> > Chris
>> >
>> > Bob Nutsch wrote:
>> >> Hi,
>> >>
>> >> Is there a way that I can set multiple EPSG codes for a single WMS? I
>> >> can
>> >> do this when using ESRI's WMS, by manually editing the capabilities
>> file,
>> >> but I haven't found a way to do this in GeoServer. I would like to
>> set
>> >> up
>> >> EPSG codes for geographic coordinate systems, UTM, and state planes.
>> Any
>> >> help would be greatly appreciated!
>> >>
>> >> Thanks, Bob
>> >
>> > begin:vcard
>> > fn:Chris Holmes
>> > n:Holmes;Chris
>> > org:The Open Planning Project
>> > adr:;;349 W. 12th Street, #3;New York;NY;10014;USA
>> > email;internet:cholmes@anonymised.com
>> > title:Managing Director, Strategic Development
>> > x-mozilla-html:FALSE
>> > url:http://topp.openplans.org
>> > version:2.1
>> > end:vcard
>> >
>> >
>> >
>> -------------------------------------------------------------------------
>> > This SF.net email is sponsored by: Splunk Inc.
>> > Still grepping through log files to find problems? Stop.
>> > Now Search log events and configuration files using AJAX and a browser.
>> > Download your FREE copy of Splunk now >> http://get.splunk.com/
>> > _______________________________________________
>> > Geoserver-users mailing list
>> > Geoserver-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
>> >
>> >
>>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>

Hi Saul,

By default, no plugin required, within ArcGIS Server there is the ability to
specify a service to have a WMS capacity. I've done very little testing but
the styling capabilities should be very good. I have been able to bring in
ArcGIS Server WMS vector data into QGIS.

I think ESRI has always lagged to varying degrees with regard to working
with OGC services. They are getting better though. Hopefully 9.3 will
bring some improvements.

Thanks, Bob

sjf8 wrote:

Bob,

Is there an ArcGIS server WMS-output plugin? I know ArcGIS server can
CONSUME other people's WMS's, but I wasn't aware that it would serve
data up in a WMS-compatible format.

Not to be to cynical here, but I'm not surprised that ArcGIS only works
with the ESRI ArcIMS WMS connector. There's been some work (I've
heard), and it looks like 9.3 will play nicer with GeoServer than
previous incarnations did, so I'm hopeful it's getting better.

--saul

On Thu, 2007-11-01 at 14:07 -0700, Bob Nutsch wrote:

Hi Saul,

Interesting info! In a way I think it's fantastic to have all of the
codes
in there from the get-go, that can be a real time saver. Thanks for the
hack approach, I'll give it a shot.

Agreed, I've had troubles using other folks' WMS with ArcGIS. I find
that
if I use the ESRI-flavored WMS it usually works OK but have sporadic
issues
with a non-ESRI WMS. The ESRI WMS that I've tested so far have been
ArcIMS-based, not sure how well the ArcGIS Server-based WMS will work.

I do plan to run some more tests with QGIS and let them know what I've
found, thanks for the reminder. :slight_smile:

Thanks again, Bob

sjf8 wrote:
>
> You'd never believe it bob, but this is one of the most common requests
> to the geoserver-users list!
>
> I believe there's a JIRA open for this, but we don't have a great
> solution for right now.
>
> Here's a bit of a hack that should work for you:
>
> 1) Navigate to your WMS capdoc with a web browser.
> 2) Save that capdoc to disk
> 3) Open and edit the capdoc file with a text editor
> 4) Remove all the EPSG codes you're not interested in (LOTS of them!)
> 5) Save that changed capdoc, and put it somewhere on a web server
> 6) When a program asks you for a cap url, point it at the capdoc on
the
> webserver from step 5. Note that apache is very happy to respond to:
>
>
http://your-host.com/your-dir/capdoc.xml?request=getcapabilites&service=WMS
>
> by completely ignoring everything after the "?". It just return the
> file "capdoc.xml". So ArcGIS should work in this case.
>
>
> If I might make a personal recommendation: ArcGIS is a terrible WMS
> client. Use something besides ArcMap. Also, if QGIS has an issue, you
> should definitely let them know on their mailing list or bug-tracker or
> whatever, because we're way inside the OGC specs on this one and QGIS
> has the wherewithal to do this right!
>
> good luck,
> --saul
>
> On Thu, 2007-11-01 at 13:48 -0700, Bob Nutsch wrote:
>> Hi Chris,
>>
>> Just for a WMS service, thanks. I had forgotten that all codes are
>> served
>> up by GeoServer, thanks for the reminder.
>>
>> I wonder how much if any performance hit there is by having these all
>> codes
>> available? It seems to take a long time to view the properties of a
>> GeoServer WMS when viewing that WMS with QGIS and ArcMap. For
example,
>> the
>> processor on my PC gets pegged when first opening the WMS with ArcMap
and
>> when viewing the properties within QGIS.
>>
>> Is there a way that I could modify the EPSG list of codes, reducing it
to
>> a
>> fewer number to test the performance difference?
>>
>> Thanks again, Bob
>>
>>
>>
>> Chris Holmes wrote:
>> >
>> > For a single WMS request? Or for a single WMS service?
>> >
>> > For the service, GeoServer by default comes with all the codes it
knows
>> > about turned on. Which is the full epsg database, plus some extras.
>> If
>> > there are ones that are not in there you can add them
>> >
>>
http://docs.codehaus.org/display/GEOSDOC/Custom+projection+definition+in+Geoserver+1.5.0+(onwards)
>> >
>> > For a single WMS request - uh, I don't think that makes sense? The
>> > layers wouldn't line up.
>> >
>> > Chris
>> >
>> > Bob Nutsch wrote:
>> >> Hi,
>> >>
>> >> Is there a way that I can set multiple EPSG codes for a single WMS?
I
>> >> can
>> >> do this when using ESRI's WMS, by manually editing the capabilities
>> file,
>> >> but I haven't found a way to do this in GeoServer. I would like to
>> set
>> >> up
>> >> EPSG codes for geographic coordinate systems, UTM, and state
planes.
>> Any
>> >> help would be greatly appreciated!
>> >>
>> >> Thanks, Bob
>> >
>> > begin:vcard
>> > fn:Chris Holmes
>> > n:Holmes;Chris
>> > org:The Open Planning Project
>> > adr:;;349 W. 12th Street, #3;New York;NY;10014;USA
>> > email;internet:cholmes@anonymised.com
>> > title:Managing Director, Strategic Development
>> > x-mozilla-html:FALSE
>> > url:http://topp.openplans.org
>> > version:2.1
>> > end:vcard
>> >
>> >
>> >
>>
-------------------------------------------------------------------------
>> > This SF.net email is sponsored by: Splunk Inc.
>> > Still grepping through log files to find problems? Stop.
>> > Now Search log events and configuration files using AJAX and a
browser.
>> > Download your FREE copy of Splunk now >> http://get.splunk.com/
>> > _______________________________________________
>> > Geoserver-users mailing list
>> > Geoserver-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
>> >
>> >
>>
>
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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/Setting-multiple-EPSG-codes--tf4732205.html#a13537948
Sent from the GeoServer - User mailing list archive at Nabble.com.