Skip to main content
Question

KML to shape conversion and extracting specific information from KML


gis2020
Participant
Forum|alt.badge.img

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 ?

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
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • 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
Participant
Forum|alt.badge.img
  • Author
  • Participant
  • August 20, 2020
danilo_fme wrote:

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
Participant
Forum|alt.badge.img
  • Author
  • Participant
  • August 20, 2020
davtorgh wrote:

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.


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