-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "TRONCON_DE_ROUTE.shp" to the sample project #47
Comments
Tables are created by the installation Did you run the installation process completely ? |
@Gustry this implies this
from https://github.com/3liz/lizmap-pgrouting-module/blob/master/docs/configuration.md but "TRONCON_DE_ROUTE.shp" is no part of the repo, nor the Zipped sample project. |
You need to populate |
@Gustry yes that is clear, but for testing purposes (to understand how the module works and how the data must be structured) it would be very good to have access to such sample. Is that data not redistributable? |
@Gustry to get a practical idea on how these columns must actually be filled |
Indeed, the data is not available because it was project specific (and country specific). There is the sample demo : https://demo.lizmap.com/lizmap/index.php/view/map?repository=modules&project=pgrouting The data contains only |
At present, original data can be found here: |
@mdouchin thanks! that helps a lot, also because not everyone has access to such good public data (i.e. here there is no public, good, topologically correct transportation dataset), so having a real example as a starter is very important. Notes:
do not seem to work, files are always served with 0 bytes size.
https://geoservices.ign.fr/bdtopo#telechargementshpreg but the format to be downloaded/used is GPKG not Shapefile, otherwise the SQL script here won't work because in the SHP version of the data the column names are truncated (and uppercase)
to be more like
|
@Gustry understand that, but it is hard to set up a working/testing environment without some sample data, Data that is actually referred in docs without being very clear where to get it.
In the "installation" and "configuration" docs pages https://docs.3liz.org/lizmap-pgrouting-module/installation/ https://docs.3liz.org/lizmap-pgrouting-module/configuration/ I can't see any link to that project. There is a link to a sample project in the sentence "We offer you here a basic project which contains only the layers required and configured for Lizmap." but that returns 404 on 3liz.com but works on github but as stated it is "just" to load/view the already imported data and to be used as template for publishing on LMWC. This https://demo.lizmap.com/lizmap/index.php/view/media/getMedia?repository=modules&project=pgrouting&path=/media/pgrouting.zip on the other hand is much more useful for a testing setup as it contains the "data.sql" with the inserts (to populate the tables created by installing the module), but there is no mention to this SQL script in docs, just a reference to a sample dataset that is also not linked anywhere. At this point I think you are getting why people gets confused. Minor detail 1: I also think that "data.sql" should not contain the Minor detail 2: It seems your demo here https://demo.lizmap.com/lizmap/index.php/view/map?repository=modules&project=pgrouting is not working, it returns always "No route have been found.".
See above. |
The 404 link was leading to the directory on GitHub https://github.com/3liz/lizmap-pgrouting-module/tree/master/tests/lizmap/instances/pgrouting The ZIP is easier and more info.
Fixed 3liz/lizmap-web-client-demo@ce115ea
Thanks for the feedback, it has been fixed ! |
Thanks for the replies and patience! |
While following
https://github.com/3liz/lizmap-pgrouting-module/blob/master/docs/configuration.md
the queries to create the nodes and edges tables are depending on having imported the line vector contained in the mentioned shapefile, but this vector is not found inside
https://demo.lizmap.com/lizmap/index.php/view/media/getMedia?repository=modules&project=pgrouting&path=/media/pgrouting.zip
That zip file contains indeed the SQL with the INSERT statements for the nodes and edges tables, but there aren't the CREATE TABLE ones to create the necessary structure for this tables.
The text was updated successfully, but these errors were encountered: