Skip to main content
Question

convert wms to kml

  • September 26, 2018
  • 7 replies
  • 283 views

How to convert wms to kml in fme.I tried converted but the file got converted has no geometry and schema is defined for the converted file.Why is this happening what error am i doing.Or how to convert wms to shape file.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

7 replies

redgeographics
Celebrity
Forum|alt.badge.img+62

WMS is raster, so conversion to a shapefile is right out (unless you convert the pixels to polygons). KML should support raster though.

Can you share your workspace here so we can have a closer look?


arnold_bijlsma
Enthusiast
Forum|alt.badge.img+15

WMS is raster, so conversion to a shapefile is right out (unless you convert the pixels to polygons). KML should support raster though.

Can you share your workspace here so we can have a closer look?

I agree with @redgeographics: WMS is just images, it doesn't hold any features, so all you'd be converting is images to KML rasters.

 


  • Author
  • September 26, 2018

WMS is raster, so conversion to a shapefile is right out (unless you convert the pixels to polygons). KML should support raster though.

Can you share your workspace here so we can have a closer look?

 

Thanks for the reply i'm getting a output kml file but it is not having any geometry or schema.wms2ogckml.fmw shared the workspace file.Why i'm not getting schema in the output kml file.

arnold_bijlsma
Enthusiast
Forum|alt.badge.img+15

 

Thanks for the reply i'm getting a output kml file but it is not having any geometry or schema.wms2ogckml.fmw shared the workspace file.Why i'm not getting schema in the output kml file.
Because there is no geometry or schema in your WMS file! It's a picture.

 

 


  • Author
  • September 26, 2018
Because there is no geometry or schema in your WMS file! It's a picture.

 

 

so the converted kml has no use?? since there is no geometry

 

 


arnold_bijlsma
Enthusiast
Forum|alt.badge.img+15
so the converted kml has no use?? since there is no geometry

 

 

@san: Please read the documentation about WMS. A WMS is a map, a picture, an image. It's not data! It's not a collection of points, lines, polygons, so you cannot convert a WMS to a shapefile or to geometry in KML.

 

What you're after is a WFS service!

redgeographics
Celebrity
Forum|alt.badge.img+62

If you want to write rasters to KML, check out this tutorial: Raster Handling in KML