[mapserver-users] Reading spatial objects from a relational database
Even Husby
Even.Husby at powelgemini.no
Wed Oct 10 06:29:32 PDT 2001
I would like to integrate a relational database containing geographic
objects with Mapserver, and is wondering if this can be done using
PHP/Mapscript and ODBC. Can someone help me by providing a sample script or
by guiding me towards relevant documentation?
regards,
Even Husby (Even.Husby at powelgemini.no)
-----Opprinnelig melding-----
Fra: owner-mapserver-users at lists.gis.umn.edu
[mailto:owner-mapserver-users at lists.gis.umn.edu]Pa vegne av Rob
Martinson
Sendt: 5. juli 2001 18:47
Til: 'MapServer List'
Emne: [mapserver-users] Building maps without a .map using MapScript
only
In short, is this possible?
With the PHP library I'm using ms_newMapObj('') to return an empty map
object to work with. The Mapscript documentation states that this will
return an emtpy object, the PHP does not specifically state this, but I
get no errors at this line. After adding layers and classes I get an
error stating "Invalid Handle" whenever I attempt to call the draw
method of the map using the above.
The same mapping functionality when I use an existing .map file seem to
work fine.
Has anyone implemented something similar?
Rob Martinson
Nichebox - http://www.nichebox.com
Development - http://dev.nichebox.com
This mail has been scanned for viruses at FastCom as
-----------------
More information about the MapServer-users
mailing list