Skip to main content
Question

KML to shape conversion and extracting specific information from KML

  • August 20, 2020
  • 4 replies
  • 202 views

gis2020
Contributor
Forum|alt.badge.img+5

Hi All,

I am trying to convert the KML file to shape file format using the generate workspace option and getting error . Also i am not sure how i can extract specif information from the KML .

I am attaching the KML file here . from this KML i want to extract the folder name which is nothing but the feature id and route 1 and 2 geometry with there descriptions. can somebody suggest how i can do this ?

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.

4 replies

davtorgh
Contributor
Forum|alt.badge.img+11
  • Contributor
  • August 20, 2020

Hi @gis2020​ ,

 

you need to expose the attribute 'kml_name'. See the attached workspace to extract the fatures 'Route1' and 'Route2' by filtering 'kml_name'. I can't understand what you mean by 'folder name'.

 

Hope that helps!


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • August 20, 2020

Hi @gis2020​ 

If you want to extract the informations from KML kml_description ( like POS, DL, NEG, etc. ) you can use the transformer HTMLToXHTMLConverter.

HTMLToXHTMLConverter

 

Thanks in Advance,

Danilo


gis2020
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • August 20, 2020

Hi @gis2020​ 

If you want to extract the informations from KML kml_description ( like POS, DL, NEG, etc. ) you can use the transformer HTMLToXHTMLConverter.

HTMLToXHTMLConverter

 

Thanks in Advance,

Danilo

Hi @danilo_fme​  Thank for the suggestion. each KML has number of id's and for each id there is route 1 and route 2 i want that id name also for each route along with geometry and pos,neg,DL . i am attaching the screenshot of this.


gis2020
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • August 20, 2020

Hi @gis2020​ ,

 

you need to expose the attribute 'kml_name'. See the attached workspace to extract the fatures 'Route1' and 'Route2' by filtering 'kml_name'. I can't understand what you mean by 'folder name'.

 

Hope that helps!

Hi @davtorgh​ ​ Thank for the suggestion. each KML has number of id's and for each id there is route 1 and route 2 i want that id also for each route along with geometry and pos,neg,DL . i am attaching the screenshot of this.