how do I scale a shapefile?

Donal donal_regan10 at YAHOO.CO.UK
Wed Sep 12 05:35:39 EDT 2007


Just for the record, I think I have it with the following :

 ogr2ogr -s_srs ' +proj=tmerc +lat_0=33 +lon_0=129.5 +k=0.999900 +x_0=0
+y_0=0 +ellps=bessel +to_meter=0.001' -t_srs EPSG:30161 out.shp in.shp

and I got my settings by looking up the value for 30161 in the
/usr/local/share/proj/epsg file.


Donal wrote:
> 
> Hello.
> 
> Is it possible to somehow scale a shapefile?
> 
> For example when I use ogrinfo to examine a shape file I see that it has
> an extent of 
> 
> Extent: (33791266.000000, 8769802.000000) - (34589323.000000,
> 9369802.000000)
> 
> with a 
> 
> Layer SRS WKT: (unknown)
> 
> I have been told that they should be epsg:30161 but are out by a factor of
> 1000. 
> 
> Is there some tool I can use that will scale the shapefile contents?
> 
> Or is there a way to tell mapserver to divide the extents and coordinates
> by 1000?
> 
> I hope this makes sense and is possible to achieve.
> 
> Thanks,
> 
> D.
> 
> 

-- 
View this message in context: http://www.nabble.com/how-do-I-scale-a-shapefile--tf4427886.html#a12632057
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the mapserver-users mailing list