It's strange, I have not problem to do it: reproject a shape file from a kml, even to reproject a kml and directly convert it to shape file. (Right click --> Save as...) - QGIS 2.0.1 - Ubuntu 12.04.... I think you must not use "Define projection".
Carlos 2014/1/21 Giacomo Fontanelli <[email protected]> > 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 < > [email protected]> 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 >>> [email protected] >>> 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 >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/qgis-user >> > > > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user >
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
