Skip to main content
Solved

Convert SHP to TopoJSON

  • January 20, 2022
  • 3 replies
  • 114 views

Forum|alt.badge.img+2

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

View original
Did this help you find an answer to your question?

3 replies

Forum|alt.badge.img+2
  • 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
  • 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+2
  • Author
  • January 22, 2022
markatsafe wrote:

@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


Reply


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