shape->line() ?
Stephen Lime
steve.lime at dnr.state.mn.us
Tue Sep 12 09:04:27 PDT 2000
When the machine was re-done a few components (swig, bison, flex) weren't re-installed.
Since the CVS has been seeing a bunch of change recently I haven't worried about it.
You can still download directly from CVS. I'll restore the nightly build when 3.3.012 is
release at the end of the week.
Steve
Stephen Lime
Internet Applications Analyst
Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937
>>> Daniel Morissette <danmo at videotron.ca> 09/11/00 11:57AM >>>
"Doyon, Jean-Francois" wrote:
>
> I'm getting :
>
> Fatal error: Call to unsupported or undefined function line() in
> /home/httpd/html/ccatlas/search/map.php3 on line 224
>
> I checked the code (php_mapscript.c) and the function does seem to be there
> ... and $shpres IS an Object.
>
> What am I missing ?
>
You're missing the latest version of the code ;-)
The function was there but was registered as being called "point"
(Copy/Paste error!), so accessing $shpres->point(0) should do what you
want with the version of the PHP MapScript that you have. I've fixed it
last week at the same time as a couple of other problems...
unfortunetely there is some areas of MapScript that we have implemented
wrappers for but haven't used yet, and you've found one!
The version that's currently in CVS is pretty stable (it behaves well
for me at least!), so you could probably update if you want. This would
also give you the setProjection() function that you needed.
Unfortunately the nightly build on the UMN web site seems to date from
the end of July. Did you intentionnally stop it, Steve?
Later,
--
------------------------------------------------------------
Daniel Morissette danmo at videotron.ca
http://pages.infinit.net/danmo/
------------------------------------------------------------
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