ShapefileObj getshape problem
Daniel Morissette
morissette at dmsolutions.ca
Mon Dec 11 13:01:21 PST 2000
Sven,
There was a problem with getShape() and a few others in PHP MapScript
3.3.011: the shape index was treated as double instead of as integer as
it should have been.
If you get a more recent version (i.e. 3.4 pre-release) then you'll get
this fix and a bunch of others.
Daniel
Sven Kroemeke wrote:
>
> Hi everybody,
>
> I am kind of trying to rebuild mapserver basics functionality
> via php-mapscript. Right now I have a problem with
>
> shapeObj ShapefileObj::getShape(int i)
> rectObj ShapefileObj::getExtent(int i)
>
> the input with the integer doesn't work, I always get the
> same shapeObj. The input should be the ID of one item of
> the shape file (first column of dbf), but I only
> receive the first entry (ID 0) of the shapefile, no matter
> which integer I use.
> I am looking for a small image of one queried item of
> the shapefile as the basic mapserver does.
> I would appreciate any help with that
>
> Sven
>
> (I have mandrake linux 7.1 mapserver 3.3.011, php 3.x)
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/
--
------------------------------------------------------------
Daniel Morissette morissette at dmsolutions.ca
http://www.dmsolutions.ca/
------------------------------------------------------------
Don't put for tomorrow what you can do today, because if
you enjoy it today you can do it again tomorrow.
More information about the MapServer-users
mailing list