Retrieve extent value using OGR

Sébastien Didelet taf.seb.didelet at GMAIL.COM
Thu Oct 20 04:53:20 EDT 2005


When I use this EXTENT MapServer raise the following error :

MapServerError: msyyparse(): Expression parser error. syntax error
msyyparse(): Expression parser error. syntax error msyyparse(): Expression
parser error. syntax error msyyparse(): Expression parser error. syntax
error msyyparse(): Expression parser error. syntax error msyyparse():
Expression parser error. syntax error msyyparse(): Expression parser error.
syntax error msyyparse(): Expression parser error.syntax error (Also, an
error occurred while attempting to render the standard error message.)

do you know where is the mistake ?



2005/10/20, Bart van den Eijnden <BEN at syncera-itsolutions.nl>:
>
> You should use the following EXTENT in your MAP file then:
>
> MAP
> ..
> EXTENT 567955.024450 2511748.009226 579369.036331 2521531.038812
> ..
>
> Best regards,
> Bart
>
> Bart van den Eijnden
> Syncera IT Solutions
> Postbus 270
> 2600 AG DELFT
>
> tel.nr <http://tel.nr>.: 015-7512436
> email: BEN at Syncera-ITSolutions.nl
>
> >>> Sébastien Didelet <taf.seb.didelet at GMAIL.COM> 20-10-2005 10:19 >>>
> Hi,
>
> I tried to read a mapinfo file (.TAB) with mapserver using OGR library,
> but
> my question is how can I retrieve extent information that I have to write
> in
> the mapserver file (.map).
> I've ever retrieve information about the mapinfo file with the ogrinfo
> command which return me this :
>
> [root at siska demo]# ogrinfo -so essai_zone.TAB essai_zone |more
> Had to open data source read-only.
> INFO: Open of `essai_zone.TAB'
> using driver `MapInfo File' successful.
>
> Layer name: essai_zone
> Geometry: Polygon
> Feature Count: 8
> Extent: (567955.024450, 2511748.009226) - (579369.036331, 2521531.038812)
> Layer SRS WKT:
> ...
>
>
> How I must fill the map file with this ?
>
>
> All regards,
> Seb
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20051020/4dbf6878/attachment.html


More information about the mapserver-users mailing list