2

I have a next problem, when I convert my .shp file to .kml the polylines are all over the globe in Google Earth.

.SHP file is made in Autocad MAP 3D - export to shp. Note that MAP 3D is not creating .prj file so it cannot be opened in Google Earth pro.

I have made settings according to that question in the link below:

Problem when converting Shapefile to KML files in QGIS

Here are photos of input:

enter image description here

And here are photos of Google Earth output:

enter image description here

Any idea how to get proper output?

...I have opened .shp in QGis and saved it as ESRI .shp but Google Earth says it that it cannot be projected because coordinates are "out of area". I have set a WGS84 coordinate system in QGis.

7
  • 1
    Have you tried to import directly the shapefile in Google Earth Pro? Google Earth Pro is free, and you can import directly shapefile into it without conveting the data to KML.
    – ahmadhanb
    Apr 19, 2017 at 7:21
  • Hello, I tried but problem is that my .shp is created from Autocad Map 3D which does not create .prj file it creates .dbf, .idx. shp. .shx. and cannot be projected into Google Earth.
    – Nejc
    Apr 19, 2017 at 7:32
  • Question updated.
    – Nejc
    Apr 19, 2017 at 7:46
  • 1
    The coordinates in your sceenshot do not look like latlong degrees, as needed for EPSG:4326. Are you sure your data aligns with a well-known-background, like Openstreetmap from the QuickMapServices plugin in QGIS? If the file was made with Autocad, I assume you have some CRS that uses meters as units, but not EPSG:4326.
    – AndreJ
    Apr 19, 2017 at 10:28
  • 2
    D48-Gauss Krueger is NOT EPSG:3857, see gis.stackexchange.com/questions/43402/… and gis.stackexchange.com/questions/159178/… for the right EPSG codes. DO NOT use Set CRS of the Layer, but rather save the file to another filename and different CRS. And always check against Openstreetmap background if the layer is in the right part of the globe.
    – AndreJ
    Apr 19, 2017 at 14:39

0

Browse other questions tagged or ask your own question.