php error with ogr odbc
Eijnden, B. van den (Bart)
b.vdeijnden at AGI.RWS.MINVENW.NL
Mon Mar 13 22:00:03 PST 2006
A few questions:
a) on which platform are you?
b) which Mapserver/Mapscript version?
c) which GDAL version?
Assuming you might be on Windows, you did not by any chance drop in another
gdal dll in your Mapserver/Mapscript install?
Bart
-----Oorspronkelijk bericht-----
Van: UMN MapServer Users List
[mailto:MAPSERVER-USERS at LISTS.UMN.EDU]Namens Mark Adams
Verzonden: maandag 13 maart 2006 22:56
Aan: MAPSERVER-USERS at LISTS.UMN.EDU
Onderwerp: [UMN_MAPSERVER-USERS] php error with ogr odbc
Hi all,
I'm trying to connect to Oracle and display a set of points using the OGR
virtual data driver. From ogrinfo I get a successful result (well, first
and error 1 - setattributefilter() not supported on executesql() results -
but then a successful listing of feature attributes). From my php mapscript
application however I get a visual C++ runtime error from php: "This
application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information."
My OVF file looks like this:
<OGRVRTDataSource>
<OGRVRTLayer name="showings">
<SrcDataSource>ODBC:minf_p1/minf_p1 at NORMINA,MINFT_SHOWN_SHOWING</SrcDataSour
ce>
<SrcSQL>select MINFT_SHOWN_SHOWING.* from
MINFT_SHOWN_SHOWING</SrcSQL>
<GeometryType>wkbPoint</GeometryType>
<GeometryField encoding="PointFromColumns" x="C_SHOWN_LONGITUDE"
y="C_SHOWN_LATITUDE"/>
</OGRVRTLayer>
</OGRVRTDataSource>
Has anyone encountered this error before, and is this a configuration
problem, compilation problem, or something else?
Thanks in advance,
Mark Adams
markadams at cuestasys.com
Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te
informeren. Wij adviseren u om bij twijfel over de juistheid of de
volledigheid van de mail contact met afzender op te nemen.
This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************
More information about the MapServer-users
mailing list