[mapserver-users] msOGRFileOpen(): Falling back to MapServer only evaluation

Gert Cuykens gert.cuykens at gmail.com
Tue Oct 17 14:54:44 PDT 2017


Sounds logical unfortunately even with debug set to 0 and changing
DATA "select node from nodes" and the others to sql syntax i still get
this message

(Mapserver 7.0.6)

msOGRFileOpen(): Falling back to MapServer only evaluation" while
reading upstream, client: 172.17.0.1, server: , request: "GET
/?map=/basemap/basemap.map&layers=nodes+segments&mode=tile&tilemode=gmap&tile=8473+5568+14.png
HTTP/1.1", upstream: "fastcgi://unix:/var/run/mapserv.socket:", host:
"localhost:8080"
172.17.0.1 - - [17/Oct/2017:21:47:54 +0000] "GET
/?map=/basemap/basemap.map&layers=nodes+segments&mode=tile&tilemode=gmap&tile=8473+5568+14.png
HTTP/1.1" 200 10353 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X
10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.52
Safari/537.36"
2017/10/17 21:47:55 [error] 11#0: *2 FastCGI sent in stderr:
"msOGRFileOpen(): Falling back to MapServer only evaluation
msOGRFileOpen(): Falling back to MapServer only evaluation" while
reading upstream, client: 172.17.0.1, server: , request: "GET
/?map=/basemap/basemap.map&layers=nodes+segments&mode=tile&tilemode=gmap&tile=8473+5571+14.png
HTTP/1.1", upstream: "fastcgi://unix:/var/run/mapserv.socket:", host:
"localhost:8080"
172.17.0.1 - - [17/Oct/2017:21:47:55 +0000] "GET
/?map=/basemap/basemap.map&layers=nodes+segments&mode=tile&tilemode=gmap&tile=8473+5571+14.png
HTTP/1.1" 200 20563 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X
10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.52
Safari/537.36"

On Tue, Oct 17, 2017 at 8:50 PM, Lime, Steve D (MNIT)
<steve.lime at state.mn.us> wrote:
> Hi: The message is specific to SQLite. I believe it has to do how filtering can be done and depends on the form of your DATA statement. If you don't use SQL syntax for the data statement then you have to fall back to MapServer filter syntax. See http://mapserver.org/input/vector/sqlite.html for examples of each. You could try the SQL syntax in your mapfile and see if that log entry disappears (I'm not setup to test SQLite here). Probably could make the docs clearer about the advantages of one approach vs the other. In any case I think the message is benign and informational only...
>
> Steve
>
> -----Original Message-----
> From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Gert Cuykens
> Sent: Sunday, October 15, 2017 9:32 PM
> To: mapserver-users at lists.osgeo.org
> Subject: [mapserver-users] msOGRFileOpen(): Falling back to MapServer only evaluation
>
> Image that i get back from the server looks good but don't understand
> what the errors mean in the mapserver logs?
>
> http://localhost:8080/?map=/basemap/basemap.map&layers=nodes&mode=tile&tilemode=gmap&tile={x}+{y}+{z}.png
>
> MAP
>   NAME "basemap"
>   SHAPEPATH "/basemap"
>   CONFIG  "MS_ERRORFILE" "stderr"
>   UNITS dd
>   # UNITS METERS
>   EXTENT 5.684829 49.398312 6.599194 50.217793
>
>   STATUS ON
>   DEBUG 5
>
>   PROJECTION
>     "init=epsg:4326"
>     # "init=epsg:3857"
>   END
>
>   WEB
>     METADATA
>       "wms_enable_request" "*"
>       "wms_title" "basemap"
>       "wms_onlineresource" "http://localhost:8080/?map=/basemap/basemap.map"
>       "wms_srs" "EPSG:4326"
>       # "wms_srs" "EPSG:3857"
>       "wms_format" "image/png"
>       # "tile_map_edge_buffer" "10"
>       # "tile_metatile_level" "0"
>     END
>   END
>
>   OUTPUTFORMAT
>     NAME "AGGPNG"
>     DRIVER "AGG/PNG"
>     EXTENSION "png"
>     MIMETYPE "image/png"
>     IMAGEMODE RGBA
>   END
>
>   SYMBOL
>     NAME "circle"
>     TYPE ellipse
>     POINTS
>       1 1
>     END
>   END
>
>   LAYER
>     NAME nodes
>     TYPE point
>     CONNECTIONTYPE OGR
>     CONNECTION "basemap.sqlite"
>     DATA nodes
>
>     CLASS
>       NAME "nodes"
>       STYLE
>         SYMBOL "circle"
>         COLOR 0 0 0
>         SIZE 3
>       END
>     END
>
>   END
>
>   LAYER
>     NAME segments
>     TYPE line
>     CONNECTIONTYPE OGR
>     CONNECTION "basemap.sqlite"
>     DATA segments
>
>     CLASS
>       NAME "segments"
>       STYLE
>         COLOR 0 0 0
>       END
>     END
>
>   END
>
>   LAYER
>     NAME links
>     TYPE line
>     CONNECTIONTYPE OGR
>     CONNECTION "basemap.sqlite"
>     DATA links
>
>     CLASS
>       NAME "links"
>       STYLE
>         COLOR 0 0 0
>       END
>     END
>
>   END
>
> END
>
> 2017/10/16 02:25:55 [error] 11#0: *534 FastCGI sent in stderr: "CGI
> Request 5 on process 9
> msTileSetExtent(): gmaps coords (x: 8473, y: 5568, z: 14)
> msTileSetExtent(): gmaps metacoords (x: 8473, y: 5568, z: 14)
> msTileSetExtent(): base image size (256 x 256)
> msTileSetExtent(): buffered image size (256 x 256)
> msTileSetExtent (687326.535559, 6415823.182566) (689762.965835, 6418259.612842)
> msTileSetExtent(): gmaps coords (x: 8473, y: 5568, z: 14)
> msTileSetExtent(): gmaps metacoords (x: 8473, y: 5568, z: 14)
> msTileSetExtent(): base image size (256 x 256)
> msTileSetExt" while reading response header from upstream, client:
> 172.17.0.1, server: , request: "GET
> /?map=/basemap/basemap.map&layers=nodes&mode=tile&tilemode=gmap&tile=8473+5568+14.png
> HTTP/1.1", upstream: "fastcgi://unix:/var/run/mapserv.socket:", host:
> "localhost:8080"
> 2017/10/16 02:25:55 [error] 11#0: *534 FastCGI sent in stderr: "ent():
> buffered image size (256 x 256)
> msTileSetExtent (687326.535559, 6415823.182566) (689762.965835, 6418259.612842)
> msDrawMap(): rendering using outputformat named AGGPNG (AGG/PNG).
> msDrawMap(): WMS/WFS set-up and query, 0.000s
> msOGRFileOpen(): Falling back to MapServer only evaluation
> msDrawMap(): Layer 0 (nodes), 0.036s
> msDrawMap(): Drawing Label Cache, 0.000s
> msDrawMap() total time: 0.036s
> msSaveImage(stdout) total time: 0.003s
> mapserv request processing time (msLoadMap not incl.): 0.039s
> msFr" while reading upstream, client: 172.17.0.1, server: , request:
> "GET /?map=/basemap/basemap.map&layers=nodes&mode=tile&tilemode=gmap&tile=8473+5568+14.png
> HTTP/1.1", upstream: "fastcgi://unix:/var/run/mapserv.socket:", host:
> "localhost:8080"
> 2017/10/16 02:25:55 [error] 11#0: *534 FastCGI sent in stderr:
> "eeMap(): freeing map at 0x55f140fcb5c0" while reading upstream,
> client: 172.17.0.1, server: , request: "GET
> /?map=/basemap/basemap.map&layers=nodes&mode=tile&tilemode=gmap&tile=8473+5568+14.png
> HTTP/1.1", upstream: "fastcgi://unix:/var/run/mapserv.socket:", host:
> "localhost:8080"
> 172.17.0.1 - - [16/Oct/2017:02:25:55 +0000] "GET
> /?map=/basemap/basemap.map&layers=nodes&mode=tile&tilemode=gmap&tile=8473+5568+14.png
> HTTP/1.1" 200 9138 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X
> 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.52
> Safari/537.36"
> 172.17.0.1 - - [16/Oct/2017:02:25:55 +0000] "GET /favicon.ico
> HTTP/1.1" 200 75
> "http://localhost:8080/?map=/basemap/basemap.map&layers=nodes&mode=tile&tilemode=gmap&tile=8473+5568+14.png"
> "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36
> (KHTML, like Gecko) Chrome/62.0.3202.52 Safari/537.36"
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list