HPGN Datum? (fwd)
Didrik Pinte
dpinte at ITAE.BE
Tue Apr 26 00:05:42 PDT 2005
Le mardi 26 avril 2005 à 08:22 +0200, Didrik Pinte a écrit :
> Le lundi 25 avril 2005 à 23:00 -0400, Frank Warmerdam a écrit :
> > In any event, if you error is on the order of 100m then the
> > problem is likely not the false northing being off by 350000
> > (meters or feet). That level of error is mostly likely related to
> > the datum shifting not being applied or possibly a mixup between
> > different kinds of feet. I am doubtful it is related to HPGN since
> > my understanding is that the difference between NAD83 and HPGN
> > is small (less than 5 meters say), though I am not too sure about that
> > part.
>
> I did not follow all the thread but it seems I have the same problem
> here.
>
> I have a layer with rasters in epsg:27572 (France NTF II) and some GPS
> points in WGS84. The error in reprojection of the points to epsg:27572
> is less than 100 meters.
>
> I really don't know how to solve this but there must be a solution.
>
> Didrik
Here is the related .map file (without symbol definition and all the
rasters)
MAP
IMAGETYPE PNG24
DEBUG ON
EXTENT 347839 1.7954e+06 402109 1.83667e+06
IMAGECOLOR 255 255 255
SIZE 500 300
STATUS ON
SHAPEPATH "/var/www/mapserver/maps"
RESOLUTION 81.28
PROJECTION
"init=epsg:27572"
END
OUTPUTFORMAT
NAME png24
DRIVER "GD/PNG"
MIMETYPE "image/png"
IMAGEMODE PC256
EXTENSION "png"
FORMATOPTION "INTERLACE=OFF"
END
WEB
LOG "/tmp/mapserver.log"
IMAGEPATH "/var/www/mapserver/tmp/"
IMAGEURL "/tmp/"
#Template file used for the base map
TEMPLATE "templates/followap.html"
#Header of the query window
HEADER "templates/header.html"
#Template used if nothing is found in the query
EMPTY "../mapserver/templates/empty.html"
END
LAYER
NAME "europe"
DATA "shape/europe3.shp"
STATUS DEFAULT
TYPE POLYGON
CLASS
COLOR 255 255 255
OUTLINECOLOR 0 0 0
END
PROJECTION
"init=epsg:27572"
END
END
LAYER
NAME "Regions"
DATA "shape/franceNTF_France2.shp"
STATUS DEFAULT
TYPE POLYGON
CLASS
COLOR 255 255 255
OUTLINECOLOR 0 0 0
END
PROJECTION
"init=epsg:27572"
END
END
LAYER
NAME "moved"
CONNECTION "user=postgres password=***** dbname=test
host=localhost port=5432"
CONNECTIONTYPE postgis
DATA "the_geom from gpsdata"
STATUS ON
TYPE POINT
DEBUG ON
TOLERANCE 5
TEMPLATE "templates/filling.html"
CLASS
NAME "Objet récemment déplacées"
EXPRESSION ([moved] >= 1)
COLOR 255 0 0
OUTLINECOLOR 255 0 0
SIZE 10
SYMBOL "circle"
END
CLASS
NAME "Objet non déplacées"
EXPRESSION ([moved] < 1)
COLOR 0 255 0
OUTLINECOLOR 0 255 0
SIZE 10
SYMBOL "circle"
END
PROJECTION
"init=epsg:4326"
END
END
LAYER
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050426/cb9550b8/attachment.sig>
More information about the MapServer-users
mailing list