I have .prj, .shp, .sbn, .sbx, .shx, .dbf files where the content of the .prj file is the following:


I would like to generate a topojson file which is not projected so I will be able to define the projection in d3. How should I parametrize topojson in Terminal to remove projection?

  • Have you tried topojson -o outpu.json input.shp? As per the documentation this should work without hassle. – Kersten Feb 12 '16 at 15:44
  • Yes, I tried it already but it is still projected somehow... the generated topojson file has a quite extreme transform property: "transform":{"scale":[10.652150879211582,10.765770152911628],"translate":[-591299.2230000049,-1334760.1630000025]} – Csaba Feb 12 '16 at 16:05
  • 1
    Run ogr2ogr first with -s_srs EPSG:5514 -t_srs EPSG:4156. The data will now be lat-lon on S-JTSK. If you want WGS84 try using EPSG:4326 for the output instead. – mkennedy Feb 12 '16 at 17:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.