What are you using to view the WMS service? What do you get if you take WMS
configuration out of the equation and just do a call like so:

  http://localhost/cgi-bin/mapserv.exe?map=[your
mapfile]&mode=map&layers=all

That should get you an image with all the features in all the layers for
your default extent.

--Steve

On Mon, Mar 1, 2021 at 1:05 PM Nathan L <[email protected]>
wrote:

> ---------- Forwarded message --------- From: Nathan L
>>> [email protected] Date: Tue, Feb 23, 2021 at 1:04 PM
>>> Subject: MapServer PostGIS: WMS Layers Without Features To: GISCO ListServ
>>> [email protected]
>>>
>>> Hi, ya'll! I'm in need of some help.
>>>
>>> I've prepared an instance of PostGIS and MapServer on the same machine.
>>> I have loaded data into PostGIS and can view these features successfully in
>>> thick clients (ArcGIS Pro, QGIS).
>>>
>>> My MapServer appears to be creating a successful WMS service with two
>>> layers. However, these two layers, called from PostGIS, are empty of any
>>> features. The same two layers were the features successfully confirmed to
>>> be in the PostGIS database, above. Nevertheless, my WMS layers from
>>> MapServer show up empty.
>>>
>>> What am I missing?
>>>
>>> My Mapfile: https://pastebin.com/tRTJKTxA
>>>
>>> My ms_error.txt: https://pastebin.com/daJJMEkJ
>>>
>>> My PostgreSQL log file: https://pastebin.com/EN2LzheE
>>>
>>> My WMS Returns: https://pastebin.com/NR0W0Pg7
>>>
>>> Nathan Tyler Lowry
>>>
>>> Comprehensive GIS Solutions
>>>
>>> (719) 208-7092 Desk
>>>
>>> (719) 963-3571 Cell
>>>
>>> (719) 960-2084 Fax
>>>
>>> [email protected]
>>>
>> _______________________________________________
> mapserver-users mailing list
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to