Hot answers tagged

4

WGS84 is not a projection, it is a Datum, there is a key difference between the two. You could have WGS84 in a geographic projection, or a UTM projection, or many other projections. You want to make sure that not only are you using WGS 84, but are also using the correct projection. Google Earth uses Simple Cylindrical projection with a WGS84 datum, you are ...


4

Use the CRS EPSG:3857. See below. Circle in GE Same KML as WGS 84 in QGIS Same KML again using EPSG:3857 Measure the diameter of your circle and it should be much better.


3

The meridians in your Google Earth picture look like they are displaying at every 0.0035 degrees. It looks like you are measuring the distance between your data, which is placed correctly at 142E, and the 141.9985E meridian. The measured distance between 142E and 141.9985E is right around 170 meters. Your data looks correct, but you are validating ...


1

You may not need KML for the whole world just to get labels turned on. Have you tried selecting a different base imagery layer? It's the second icon from the upper-right on the toolbar. var imagery = Cesium.createDefaultImageryProviderViewModels(); var viewer = new Cesium.Viewer('cesiumContainer', { imageryProviderViewModels: imagery, ...


1

Got it! An environment variable needs to be set. It can be set either in the shell: export SHAPE_ENCODING="utf-8" or within the script: os.environ['SHAPE_ENCODING'] = "utf-8" I prefer to set it in the script. I tried out various ways of decoding from utf-8 and encoding to ISO8859_1 within the script with no luck. feature.SetField does not accept ...


1

It's actually much simpler than what you've got going on there. ogr2ogr outputShapefile.shp input.kml Of course you can also use other option to specify srs etc. for example I work alot with a non standard crs, Lowrance Mercator Meter, so I use: ogr2ogr -t_srs "+proj=merc +a=6356752.3142 +b=6356752.3142 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=...



Only top voted, non community-wiki answers of a minimum length are eligible