Skip to main content
Solved

Convert SHP to TopoJSON

  • January 20, 2022
  • 3 replies
  • 166 views

Forum|alt.badge.img+3

Hello Dears,

Im new to FME.

 

I would like to convert SHP to TopoJSON. Is there any special transformers to use for this process or any customization required.

I tried with simple attribute manager but the converted data is just a line.

 

could you please help anyone

 

SC attached

 

image 

Best answer by markatsafe

@chithramc​ I believe that GeoJSON (and TopoJSON) only support geographic coordinate systems - i.e. LL-WGS84. Try switching the target coordinate system to LL-WGS84 in your workspace rather than AinElAbd.BahrainGrid

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.

3 replies

Forum|alt.badge.img+2
  • 1891 replies
  • January 20, 2022

@chithramc​ Welcome to FME. Do you need to reproject the data? By default GeoJSON is in geographic lat/long. So if your source SHAPE data is in a different coordinate projection you'll have to reproject. Just add LL-WGS84 to the TopoJSON writer in the workbench Navigator.

If that is not the issue, then perhaps attach a small sample of your data so someone can investigate a bit further.


Forum|alt.badge.img+2
  • 1891 replies
  • Best Answer
  • January 21, 2022

@chithramc​ I believe that GeoJSON (and TopoJSON) only support geographic coordinate systems - i.e. LL-WGS84. Try switching the target coordinate system to LL-WGS84 in your workspace rather than AinElAbd.BahrainGrid


Forum|alt.badge.img+3
  • Author
  • 6 replies
  • January 22, 2022

@chithramc​ I believe that GeoJSON (and TopoJSON) only support geographic coordinate systems - i.e. LL-WGS84. Try switching the target coordinate system to LL-WGS84 in your workspace rather than AinElAbd.BahrainGrid

Thank you Mr Mark,

 

Your answer was very accurate and help to solve my issue. ✌️

 

regards