[Qgis-user] RE: [Qgis-community-team] Problem changing a shapefile's coordinates

Brad Nesom gisbradokla at live.com
Wed Sep 28 07:53:04 PDT 2011


we like to hear about the solutions. (esp when they are silly).
I was about to suggest gdal for raster re-project.
but knew you would need the original projection.

glad to hear.



2011/9/28 giannis Nj <netsagief at hotmail.com>

>  Problem solved guys, than you all for the help.
>
>
>
>
>  ------------------------------
> From: netsagief at hotmail.com
> To: alister.hood at synergine.com; qgis-user at lists.osgeo.org
> Date: Wed, 28 Sep 2011 10:50:17 +0000
> CC:
> Subject: [Qgis-user] RE: [Qgis-community-team] Problem changing a
> shapefile's coordinates
>
>
> After reading all the answers and re-projecting to 4326 from the original
> .shp file (using save as..), i think that my problem is the projection of my
> .tiff data, because all my files in WGS84 projects at approximately the same
> coordinates (-92,35 as Brad said) but my raster file of the same area is at
> (25,35), so if i want to project all files at this CRS i have to "move"
> somehow my .tiff file at the above coordinates (and not the opposite as i
> was trying so long), am i right or wrong? Is there a way to change the
> coordinates that my tiff projects? I tried "on the fly" and by specifying
> the 4326 CRS from the file's properties but that doesn't changed anything,
> 25,35 remains.
>
> Thanks all for the answers, I know i am a bit trouble!
>
>
>
>
>
> > Subject: RE: [Qgis-community-team] Problem changing a shapefile's
> coordinates
> > Date: Wed, 28 Sep 2011 10:30:09 +1300
> > From: alister.hood at synergine.com
> > To: netsagief at hotmail.com; qgis-user at lists.osgeo.org
> >
> > Hi,
> >
> > > -----Original Message-----
> > > From: qgis-community-team-bounces at lists.osgeo.org
> > [mailto:qgis-community-team-
> > > bounces at lists.osgeo.org] On Behalf Of giannis Nj
> > > Sent: Tuesday, 27 September 2011 10:53 p.m.
> > > To: qgis-user at lists.osgeo.org; qgis-community-team at lists.osgeo.org
> > > Subject: [Qgis-community-team] Problem changing a shapefile's
> > coordinates
> > >
> > > Hello,
> > >
> > > I have a .tiff file and a .shp one, showing the same area in the map
> > but they
> > > come in different coordinates. From the Properties of these files I
> > give them
> > > the same projection (4326 - WGS84), same as the project properties,
> > but still
> > > they don't match. Actually, the coordinates of the shapefile remain
> > the same
> > > (different from the project's), something that I thought would change
> > by
> > > changing the CRS.
> >
> > Like Micha said, assigning a different CRS to a layer does not change
> > the coordinates of features in the layer, it just tells QGIS which CRS
> > the coordinates are in, for the sake of 'on the fly' CRS transformation.
> > For a layer to show up in the correct place you must assign it the
> > correct CRS (if not already assigned), and either:
> > (1) enable 'on the fly' CRS transformation, or
> > (2) save copy of the layer, transformed into the same CRS as the
> > project, as the other guys have described, and use that copy.
> >
> > (1) is fine if you only need to display the layer. If you need to do
> > some sort of spatial analysis using layers in different CRSs you
> > normally need to do (2), because many tools in QGIS require layers to be
> > in the same CRS.
> >
> > > I guess it's not that simple to change the coordinates in a
> > > file, so i would like to ask how it is possible to manage this so that
> > the two
> > > files will come in the same coordinates. Is something in the settings
> > that i
> > > forget to do? Is this able in QGIS or i have to try on another GIS
> > program?
> > >
> > > Thank you.
> >
> > Regards,
> > Alister
>
> _______________________________________________ Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
> _______________________________________________
> 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/20110928/d45b8259/attachment.html>


More information about the Qgis-user mailing list