~ubuntu-branches/ubuntu/intrepid/grass/intrepid

« back to all changes in this revision

Viewing changes to general/g.proj/description.html

  • Committer: Bazaar Package Importer
  • Author(s): Noèl Köthe
  • Date: 2008-04-06 17:08:21 UTC
  • mfrom: (1.1.5 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080406170821-7l3d3ulh4g8crwcs
Tags: 6.2.3-2.1
* NMU during credativ BSP 2008
* using patch from Moritz Muehlenhoff <jmm@inutil.org> to fix
  FTBFS with GCC 4.3: missing #includes
  (closes: #461673)

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
using the GDAL 'gdalwarp' tool. We recommend to use the ERDAS/Img format and not
140
140
to use the ESRI style of WKT:<br>
141
141
<div class="code"><pre>
142
 
gdalwarp -of HFA -t_srs "`g.proj -wf`" aster.img aster_tmerc.img
 
142
# example for 30x30 pixel resolution (enforce with -tr to avoid odd values)
 
143
gdalwarp -of HFA -tr 30 30 -t_srs "`g.proj -wf`" aster.img aster_tmerc.img
143
144
</pre></div>
144
145
 
145
146
<p>
146
 
Reproject external vector map to current GRASS projection (does not always make sense!)
147
 
using the OGR 'ogr2ogr' tool (using ESRI style of .prj file):<br>
 
147
Reproject external vector map to current GRASS projection
 
148
using the OGR 'ogr2ogr' tool:<br>
148
149
<div class="code"><pre>
149
 
ogr2ogr -t_srs "`g.proj -wef`" polbnda_italy_GB_ovest.shp polbnda_italy_LL.shp
 
150
ogr2ogr -t_srs "`g.proj -wf`" polbnda_italy_GB_ovest.shp polbnda_italy_LL.shp
150
151
</pre></div>
151
152
 
152
153
 
153
154
<H2>REFERENCES</H2>
154
155
 
155
 
<a href=http://proj.maptools.org>PROJ 4</a>: Projection/datum support library<br>
156
 
<a href=http://www.gdal.org>GDAL raster library and toolset</a><br>
157
 
<a href=http://www.gdal.org/ogr/>OGR vector library and toolset</a>
 
156
<a href="http://proj.maptools.org">PROJ 4</a>: Projection/datum support library<br>
 
157
<a href="http://www.gdal.org">GDAL raster library and toolset</a><br>
 
158
<a href="http://www.gdal.org/ogr/">OGR vector library and toolset</a>
158
159
 
159
160
<P>
160
161
<B>Further reading</B>
174
175
 
175
176
Paul Kelly
176
177
 
177
 
<p><i>Last changed: $Date: 2006/08/30 15:35:34 $</i>
 
178
<p><i>Last changed: $Date: 2007/10/16 16:47:39 $</i>