[mapserver-users] Re: rectangle on reference map and shown query map don't coinside

Minka Stoyanova minka.stoyanova at gmail.com
Sat Sep 13 10:00:38 EDT 2008


Don't bother - I've found the unswer. As I supposed the reason is in the
EXTENT parameters. Luckily  we have a tool like ogrinfo. In the xml file of
a layer I had
<lboundng>
  <leftbc Sync="TRUE">117565.994059</leftbc>
  <rightbc Sync="TRUE">629900.812795</rightbc>
  <bottombc Sync="TRUE">4566280.510742</bottombc>
  <topbc Sync="TRUE">4904916.677351</topbc>
</lboundng>

But the ogrinfo on the same shapefile gave:
Extent: (217768.750667, 4598985.999868) - (509640.935799, 4743932.000236)
which, as you can see, is quite different. And obviously the second was true
for the tif extent of the tif image.

I still don't know why I had different extents in the files of the same
layer, but I had not produces these files, so I stop guessing.

Bye,
Minka

On Sat, Sep 13, 2008 at 4:39 PM, Minka Stoyanova
<minka.stoyanova at gmail.com>wrote:

> Dear list,
>
> All layers are well visualised on my query map. But the piece of map shown
> on the query map is not at all correctly shown with the rectangle on the
> reference map. Where could be the reason?
>
> thanks!
> Minka
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080913/e2587d6b/attachment.html


More information about the mapserver-users mailing list