[Qgis-user] problem reprojecting some shapefiles

Giacomo Fontanelli giacomofontanelli76 at gmail.com
Tue Jan 21 05:27:46 PST 2014


Thank you very much, I tried you suggestion, but it doesn't work. I think
is because of the origin of the shapefile, coming from a kml. Since is not
the first time that I notice this problem, I realized that it is not
possible to reproject a shapefile made from a kml. Am I wrong? Thank you


On Tue, Jan 21, 2014 at 1:04 PM, Simon Cropper <
simoncropper at fossworkflowguides.com> wrote:

> On 21/01/14 22:44, Giacomo Fontanelli wrote:
>
>> dear community
>>
>> I'm gonna report a problem that I observed frequently. I have polygon
>> shapefile, downloaded from the net, representing the path of a
>> satellite. I think this shapefile derive from a .kml, but I'm not sure.
>> This layer is WGS84 EPSG:4326.
>>
>> I have also a layer in UTM 32N (EPSG:32632).
>>
>> If I work with the on the fly projection I can see both the layers
>> correctly reprojected and positioned in EPSG 32632 (this must be the
>> reference system of my project), but once I deflag the on fly projection
>> and I try to reproject the WGS84 layer (Vector>Define projection) in UTM
>> 32 N, the polygons are absolutely not overlayed.
>>
>> If I start again the on the fly projectio I don't get any overlay, the
>> only way to reach a good positioning is to reproject again the first
>> layer in the native reference system (WGS84) and using the on the fly
>> reprojection.
>>
>> My impression is thar QGIS doesn't correctly reproject the shapefiles
>> coming from .kml, am I wrong?
>>
>> Thank you very much
>>
>>
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
> Hi Giacomo,
>
> It may be possible that  your shapefile does not have a spatial index
> (depends on tool used to convert from kml).
>
> Try opening your original file in a new project projected in WGS84
> EPSG:4326, then reproject it to EPSG 32632 giving it a new name.
>
> Open your original project in UTM 32N (EPSG:32632) and open the newly
> created satellite file.
>
> Does this work?
>
> --
> Cheers Simon
>
>    Simon Cropper - Open Content Creator
>
>    Free and Open Source Software Workflow Guides
>    ------------------------------------------------------------
>    Introduction               http://www.fossworkflowguides.com
>    GIS Packages           http://www.fossworkflowguides.com/gis
>    bash / Python    http://www.fossworkflowguides.com/scripting
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140121/2f8cc2d4/attachment.html>


More information about the Qgis-user mailing list