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
>
>