Comments (9)
according to the documentation this message shout appear at level 1:
fair enough. Addressed per #7062
from mapserver.
What do you get with
ogrinfo -dialect SQLite -sql "select spatialite_version()" [any_datasource]
where any_datasource can be any existing datasource (.json, .shp or whatever).
from mapserver.
ogrinfo -dialect SQLite -sql "select spatialite_version()" gpkg_test.gpkg
INFO: Open of `gpkg_test.gpkg'
using driver `GPKG' successful.
ERROR 1: In ExecuteSQL(): sqlite3_prepare_v2(select spatialite_version()):
no such function: spatialite_version
ogrinfo -dialect SQLite -sql "select spatialite_version()" gpkg_test.json
INFO: Open of `gpkg_test.json'
using driver `GeoJSON' successful.
ERROR 1: In ExecuteSQL(): sqlite3_prepare_v2(select spatialite_version()):
no such function: spatialite_version
Note: gdal
was compiled without libspatialite
as it is only needed for writing ( https://gdal.org/drivers/vector/sqlite.html#using-the-spatialite-library-spatial-extension-for-sqlite )
from mapserver.
So do you mean that the message about not enabled Spatialite should not be logged at debugging level 0? There are no errors in rendering?
from mapserver.
yes, since it is not an an error (in this case) it sholud not been printed on DEBUG 0
(Errors only)
from mapserver.
I agree. Could you try to edit the description and title to make it clear what is wrong?
from mapserver.
I feel this log message is appropriate. The lack of Spatialite support for GeoPackage will make some filtering operation slower
from mapserver.
I feel this log message is appropriate. The lack of Spatialite support for GeoPackage will make some filtering operation slower
ok, that is a nice information, to speed up the service. but ist not an error that prevents the service functionality.
according to the documentation this message shout appear at level 1:
Level 1 includes all output from Level 0 plus msDebug() warnings about common pitfalls, failed assertions or non-fatal error situations (e.g. missing or invalid values for some parameters, missing shapefiles in tileindex, timeout error from remote WMS/WFS servers, etc.)
from mapserver.
@rouault can you explain which filter operations are slower with the MapServer in GeoPackages without libspatialite? Are these relevant for WMS services (BBOX filter) or only for special WFS filter requests (Interstects etc.). Thanks.
from the GDAL doc:
Explicit linking against SpatiaLite library also provides access to functions provided by this library, such as spatial indexes, spatial functions, etc...
Does that really mean that without libspatialite no geometry index is used?
sorry, it goes further: According to the SpatialLite documentation [q], the data query must be specially adapted so that a SpatialIndex can be used. Does the MapServer do this automatically or does the creator of the MapFile have to take this into account?
from mapserver.
Related Issues (20)
- Whitespace in EXPRESSIONS added to SLD Filters
- Antimeridian BBOXes not supported by the OGC Features API
- Failing Windows CI Test test_rq_10 HOT 5
- Authentication of users and access to data based on S3 keys provided through Run-time Substitution. HOT 3
- PHPScript HOT 2
- Using LAYER CLASS filters for MVT tiles rendering HOT 6
- ability to use non existing properties in (FI) templates HOT 5
- Segfault when Mapfile includes a missing file HOT 3
- data loss on getmap requests when vector data is reprojected EPSG:2056 to EPSG:4326 HOT 10
- In under certain conditions Mapserver segfault error geos_ts_c.cpp HOT 2
- Posgresql returns in response all products in database, even if BBOX parameter is passed
- undefined symbol: msCGIWriteLog when calling any mapserver command HOT 2
- Web metadata ows_schemas_location is not respected for OGC API Features, and appears to not be documented HOT 3
- Memory corruption in msUpdate...FromString
- Parser IO error is ignored if map include is a directory
- msRedactCredentials removes too much content especially for postgis connections HOT 4
- Mapserver unable to read config file HOT 2
- erroneous extra outlines when using WIDTH based on an attribute HOT 4
- centerline function causes GEOS errors HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapserver.