[mapserver-users] Mapserver - connection to MSSQL

Robert Sanson Robert.Sanson at asurequality.com
Mon Jun 6 16:05:52 PDT 2016


Hi Tamas

I populated the geometry_columns and spatial_ref_sys Metadata tables and am now able to connect Mapserver to use my SQL-Server geometry column!

However, I have come across another issue. I am getting some correctly drawn tiles, and some pink tiles. Investigating the pink tiles I get the following:

<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1">
<ServiceException>
msDrawMap(): Image handling error. Failed to draw layer named 'par_direct'.
msOGRFileNextShape(): OGR error. GetNextRawFeature(): Not enough data to deserialize
</ServiceException>
</ServiceExceptionReport>

Any clues?

Many thanks,

Robert

From: Tamas Szekeres [mailto:szekerest at gmail.com]
Sent: Wednesday, 1 June 2016 9:23 a.m.
To: Robert Sanson <Robert.Sanson at asurequality.com>
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Mapserver - connection to MSSQL

Probably the referred table is not enumerated in the geometry_columns metadata table of the database.

Best regards,

Tamas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160606/f7d5c327/attachment.htm>


More information about the MapServer-users mailing list