Question

WMS to Shapefile conversion

  • 12 April 2018
  • 6 replies
  • 80 views

Hi i downloaded FME Trail version and using Workbench. And I am trying to convert WMS "link" to shapefile format.

It is reading well but, while writing into shapefile it is throwing error. See the below error information

"A fatal error has occurred. Check the logfile above for details

FME Session Duration: 2.8 seconds. (CPU: 0.2s user, 0.1s system)

END - ProcessID: 4020, peak process memory usage: 40856 kB, current process memory usage: 39564 kB

A fatal error has occurred. Check the logfile above for details

Program Terminating

Translation FAILED."

Please help me regarding this issue.

@vamsi krishna


6 replies

Userlevel 4
Badge +30

Hi @vamsi,

Could you send the link to test?

Thanks,

Danilo

Userlevel 4

Normally, a WMS returns a raster, but shapefiles don't support rasters.

Can you perhaps explain your requirement in more detail?

Hi Danilo,

I am trying get shapefiles from WMS and WFS links. Datasets reading from the respective links, while writing into shapefile or geodb format it is throwing error or some times no entitties writing in the shapefile. Here i am attaching the link below.

https://geoportaal.fryslan.nl/arcgis/services/ProvinciaalGeoRegister/PGR2/MapServer/WMSServer?request=GetCapabilities&service;=WMS

https://geoportaal.fryslan.nl/arcgis/services/ProvinciaalGeoRegister/PGR2_features/GeoDataServer/WFSServer?request=GetCapabilities&service;=WFS

Userlevel 4
Badge +30

Hi Danilo,

I am trying get shapefiles from WMS and WFS links. Datasets reading from the respective links, while writing into shapefile or geodb format it is throwing error or some times no entitties writing in the shapefile. Here i am attaching the link below.

https://geoportaal.fryslan.nl/arcgis/services/ProvinciaalGeoRegister/PGR2/MapServer/WMSServer?request=GetCapabilities&service;=WMS

https://geoportaal.fryslan.nl/arcgis/services/ProvinciaalGeoRegister/PGR2_features/GeoDataServer/WFSServer?request=GetCapabilities&service;=WFS

Hi @vamsi

 

 

First I created a Workspace to read the WFS and Write in Geodatabase.

 

Some layers from WFS doens't has features. Geodatabase layers:

 

 

Attached the Workspace - workspace-wfs.fmwt

 

 

I'm checking now the WMS.

 

 

Thanks,

 

Danilo

 

 

Userlevel 4
Badge +30

Hi @vamsi,

Did you check the workspace with WFS format that I attached?

Thanks,

Danilo

Badge +10

Hi @vamsi,

You are trying to read from a ArcGIS Server. You can also use the ArcGIS Server Feature Service reader and adjust the URL to

https://geoportaal.fryslan.nl/arcgis/rest/services/ProvinciaalGeoRegister/PGR2/MapServer/

I guess you won't have a problem writing to Shapefile then.

Reply