[mapserver-users] styling point shapefile for wms
Jeff McKenna
jmckenna at gatewaygeomatics.com
Fri Apr 14 09:25:35 PDT 2017
I can imagine after you do a GetCapabilities request you will notice
many warnings in that response: be sure to get rid of all warnings, or
else there will be problems in clients downstream (QGIS etc). For
example, be sure to add metadata for all layers, and a projection object
to all layers, etc etc. Best/easiest to just follow a working example
mapfile: http://mapserver.org/ogc/wms_server.html#sample-wms-server-mapfile
Have a nice easter,
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
On 2017-04-14 1:13 PM, Jeff McKenna wrote:
> Hi Derek,
>
> Since your request is using WMS 1.3.0, the issue could be specifying
> long/lat vs lat/long in your CRS parameter of the WMS GetMap request
> (see example requests at
> http://mapserver.org/ogc/wms_server.html#coordinate-systems-and-axis-orientation).
>
>
> I would also check the GetCapabilities response for any warnings.
>
> Also, another option for testing your mapfile styling instead of your
> first link (CGI method) is to use the shp2img commandline utlity, that
> comes ready for your use in MS4W as well (see
> http://mapserver.org/utilities/shp2img.html).
>
> Happy mapserving :)
>
> -jeff
>
>
>
More information about the MapServer-users
mailing list