Skip to main content
Question

convert wms to kml

  • September 26, 2018
  • 7 replies
  • 225 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.

7 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

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+14
redgeographics wrote:

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
redgeographics wrote:

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+14
san wrote:

 

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
arnold_bijlsma wrote:
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+14
san wrote:
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+49

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings