[MapServer-users] Error advises checking logs, but I am not sure what logs it's referring to
Seth G
sethg at geographika.co.uk
Fri Jul 25 05:22:51 PDT 2025
Hi Rob,
As you are going through OGR/GDAL you can get additional GDAL logging by setting "CPL_DEBUG":
MAP
...
CONFIG "CPL_DEBUG" "ON"
See https://mapserver.org/optimization/debugging.html#step-3-turn-on-cpl-debug-optional
Seth
--
web:https://geographika.net & https://mapserverstudio.net
mastodon: @geographika at mastodon.social
On Thu, Jul 24, 2025, at 5:12 PM, Rob Dennett via MapServer-users wrote:
> Changing that didn't fix the error. Do you have any idea what logs are being referred to in the error_log?
>
> Thanks,
> Rob
>
>
> *From:* Scott <public at postholer.com>
> *Sent:* Thursday, July 24, 2025 9:58 AM
> *To:* Rob Dennett <Rob.Dennett at twdb.texas.gov>
> *Subject:* Re: [MapServer-users] Error advises checking logs, but I am not sure what logs it's referring to
>
> External: Beware of links/attachments.
>
>
>
> Your parquet file is area_types.parquet (plural, has an 's').
>
> Your DATA is requesting area_type (singular). Is that the correct layer
> name?
>
>
> On 7/24/25 07:10, Rob Dennett via MapServer-users wrote:
> > I am using httpd as the web server and have MS_ERRORFILE set to stderr
> > and in /etc/httpd/logs/error_file, I see
> >
> > stderr: msOGRFileOpen(): OGR error. GetLayer(geom FROM area_type) failed
> > for OGR connection. Check logs.
> >
> > What logs are being referred to here?
> >
> > BTW, here's some stuff from the LAYER in the .map file. Not sure if
> > it's relevant:
> >
> > NAME "area_type"
> > CONNECTIONTYPE OGR
> > CONNECTION "/vsicurl/https://github.com/iamgeodude/testgio/raw/
> > main/area_types.parquet"
> > TYPE POLYGON
> > STATUS ON
> > DATA "geom FROM area_type"
> >
> > Thanks
> >
> > _______________________________________________
> > MapServer-users mailing list
> > MapServer-users at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/mapserver-users
> _______________________________________________
> MapServer-users mailing list
> MapServer-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20250725/3e307e78/attachment-0001.htm>
More information about the MapServer-users
mailing list