2

I have a map of zipcodes in San Francisco that I plotted on CartoDB.The CartoDB view looks about like I expected:

CartoDB Map

But when I had CartoDB generate an SVG, the proportions are way off.The SVG

I took the same data to QGis and got the exact same distortion when I output an SVG. What on earth is going on here and how do I fix it?

1 Answer 1

5

I would say this is due to the data being displayed on CartoDB in Web Mercator.

The underlying data is stored in WGS84, so when you export to SVG, you're likely displaying that data in WGS84 in QGIS.

Try switching your coordinate system in QGIS to Web Mercator and see what it looks like.

(hint: click the EPSG:4326 button in the bottom-right of QGIS > Enable 'on the fly' CRS transformation > Choose WGS84 / Psuedo Mercator (EPSG: 3857)

1
  • SVG, not CSV, and I wound up with EPSG:54004 but ... Basically, yes. Enabling 'on the fly' CRS transformation in that bottom right corner got me there.
    – Amanda
    Commented Oct 21, 2015 at 5:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.