OGR

Andreas T haristeas at GMAIL.COM
Tue Dec 19 06:34:07 EST 2006


Hello everyone

I have downloaded and installed ogr php extension. I am experiencing
difficulties in understanding and writing some code using this extension.
The available documentation for the php ogr extension is really poor and I
am wondering if someone has any idea of where to search for sample code or
instructions.
For example (talking about sample code), I am looking for a simple script
that opens and reads a shape file. I tried the ogr2ogr.php script, fount on
the examples folder, but the result was to have a new shape file but with no
feature transfer. I mean that the new shape file that was created by the
script, that it was supposed to be the copy of an another, was empty. The
dbf file copied successfully.

Another, more general, question has to do with the mapscript's relation to
OGR. I am totally confused on this part. Does mapscript enhances ogr? If
yes, then does mapscript support all the source files that ogr supports?

Anyway, can someone please give some directions, guidelines, links or
anything concerning the ogr php extension?

Thanks on advance
Andreas Trantidis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061219/740ec738/attachment.html


More information about the mapserver-users mailing list