[mapserver-users] Mapserver - connection to MSSQL

Tamas Szekeres szekerest at gmail.com
Tue Jun 7 01:04:53 PDT 2016


Hi Robert,

This is probably due to an incorrect geometry format in the database. I'd
require some test data to be able to investigate this further.

Best regards,

Tamas



2016-06-07 1:05 GMT+02:00 Robert Sanson <Robert.Sanson at asurequality.com>:

> 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/20160607/7e5c9a7d/attachment-0001.html>


More information about the mapserver-users mailing list