Question

Output WMS projection

  • 14 August 2015
  • 3 replies
  • 1 view

Badge
Hi all,

 

 

I am trying to produce a WMS output from a shapefile input. I have the writer writing the data to PNG output, however it loses its projection information so if you go to view the WMS in ArcMap (for example) it won't show on the mapas it has no projection.

 

 

Any suggestions would be much appreciated.

 

 

Thanks

 

 

3 replies

Userlevel 4
Hi

 

 

The projection of a WMS service isn't defined on the raster tile level, but rather on the WMS service defintion. When defining your WMS service (layer names etc) you can usually also define the coordinate system for that layer.

 

 

Here is some info from the GeoServer manual (it is probably different for other WMS servers, but the geneval concept should be the same): http://docs.geoserver.org/latest/en/user/webadmin/data/layers.html

 

 

David
Badge
Thanks David.

 

 

Unfortunately I am not sure where/how to define the WMS service with FME server. In the workbench I have set the correct coordinate system, is there somewhere else I need to do it also?
Userlevel 4
Hi

 

 

I'm not quite sure I understand, FME Server is not a WMS server. You need more than just png tiles for that.

 

 

If you need a WMS service, I'd recommend something dedicated, such as GeoServer (http://geoserver.org/) or Mapserver (http://mapserver.org/), both open source. There are also commercial alternatives, e.g. from ESRI.

 

 

Let me know if I'm missing something.

 

 

David

 

 

Reply