Hi, First thing that comes into my mind is that for some reason Mapserver may believe that the request is outside the area where you have data. I would double check the projections and extents.
-Jukka Rahkonen- Lähettäjä: mapserver-users <[email protected]> Puolesta Steve Lime Lähetetty: tiistai 2. maaliskuuta 2021 17.06 Vastaanottaja: Nathan L <[email protected]> Kopio: Mapserver <[email protected]> Aihe: Re: [mapserver-users] Fwd: MapServer PostGIS: WMS Layers Without Features 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<http://localhost/cgi-bin/mapserv.exe?map=%5byour> 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]<mailto:[email protected]>> wrote: ---------- Forwarded message --------- From: Nathan L [email protected]<mailto:[email protected]> Date: Tue, Feb 23, 2021 at 1:04 PM Subject: MapServer PostGIS: WMS Layers Without Features To: GISCO ListServ [email protected]<mailto:[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]<mailto:[email protected]> _______________________________________________ mapserver-users mailing list [email protected]<mailto:[email protected]> https://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users
