开发者

GIS: How to resize layer using .prj (WKT) projection? (Geographic Coordinate System)

Briefly:

How to parametrize .prj WKT file so that I can perform 7 point tranformation (wiki). I know how false_easting and false_northing params work, but how can I adjust scale? I do not mean scale_factor'

That's the problem description:

I have transportation network (vector layer) saved in non-GIS environment (transport modeling software). Network consists of nodes (points) and polylines (road links). It's done mostly from random backgrounds, regardless any projection, coordinates, etc.

I need to set appropriate projection for the network.

I have accesss to .prj files (if I'm in an say WGS84 projection I can switch to any other projection)

So that's what I'm trying:

I try 7 point Helmert Transform开发者_运维知识库ation (http://proj.maptools.org/gen_parms.html). I use towgs84 transformation as a WKT param in .prj file, where I assume that rotation matrix is zero (can I do so?) and I calculate only delta_x, and delta_y, and scale param.

However it will not work. This is my .prj , params in TOWGS84 do not affect transformation:

PROJCS["UTM 17 (WGS84) in northern hemisphere.",
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563],
        TOWGS84[0,0,0,0,0,0,100000000000000000000000]],
    PRIMEM["Greenwich",0],
    UNIT["DMSH",0.0174532925199433],
    AXIS["Lat",NORTH],
    AXIS["Long",EAST],

PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",0],
PARAMETER["scale_factor",1],
PARAMETER["false_easting",0],
PARAMETER["false_northing",0]]

So I tried to use false_norting and false_easting params, and those work good, and transform my network proprely, BUT:

It will not chcange scale of my network, only position. So how can I rescale my network using .prj file?

Thanks for any hints


Problem solved: both 'scale_factor' , and UNIT['Meter',%scale_factor] works only if datum changes.

Actually comments at the same problem at gis.stackexchange.com/ here brought me to solution.

Anyway: .prj files, Geo Coordinate Systems, proj4js, EPSG etc. are vary weakly documented: no API, no tutorials, no examples, no refernces.

i.e. 1)not any straighforward description of what EPSG database codes are, and which should be chosen.

2)what +proj parameters should I choose to define projection

3)how to create .prj and what are parameters of specific .prj file elements.

awful programming area!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜