The support forum is temporarily read-only. For urgent requests, please email contact[at]psyberia.net

Esri shapefile conversion

It's all about maps...
helwin
Posts: 82
Joined: Sun Jun 16, 2019 2:32 pm

Esri shapefile conversion

Post by helwin »

I have downloaded height lines data like:
SSSchichten.JPG
(26.33 KiB) Not downloaded yet
I tried to convert to .kml, which did not work, Alpinequest imported the file and created a .kml.ldk file which can be displayed, but is of no practical use, because it consists of more than 42 000 tracks :o each defining one height line. Looks nice, though.

Converted to .sqlite and the file is not recognized by the app.

Any ideas how to display these lines?
Psyberia-Support
Site Admin
Posts: 6406
Joined: Wed Apr 14, 2010 9:41 pm

Re: Esri shapefile conversion

Post by Psyberia-Support »

Yes:
1. Open the Shapefile with AlpineQuest. Only the .shp, .prj and .dbf files are needed (used). It will also be imported as .ldk file (the native format of the app for vector data), so if it contains 42 000 items, the import will take time and so the display.
2. Using QGIS, split your original SHP file into smaller areas (if you only need a subset area), it will speedup the import and display.
3. Rasterize your SHP file (convert it to a raster map format), in a KML overlay image, or geopackage, etc. It can be done in QGIS but it's a pain to use, I think you can find better conversion tools.
Do you like AlpineQuest ? Leave a small comment on Google Play !
helwin
Posts: 82
Joined: Sun Jun 16, 2019 2:32 pm

Re: Esri shapefile conversion

Post by helwin »

Just to be clear, I need these contour lines to display as a map layer, not tracks. So will any of these options meet this requirement? Maybe Option 3 ???
Psyberia-Support
Site Admin
Posts: 6406
Joined: Wed Apr 14, 2010 9:41 pm

Re: Esri shapefile conversion

Post by Psyberia-Support »

So yes in this case only the option 3 will work.
If you import files from those formats, they will be used as a (raster) map layer: https://www.alpinequest.net/en/help/v2/ ... pplication
From those formats, as (vector) placemarks: https://www.alpinequest.net/en/help/v2/ ... portexport
Is shapefile the only way to get your contours?
Do you like AlpineQuest ? Leave a small comment on Google Play !
hamish
Posts: 31
Joined: Sun May 03, 2015 11:47 pm

Re: Esri shapefile conversion

Post by hamish »

Or convert to MBtiles (raster) using QGIS. Which can display as a map layer in AQ

Processing Toolbox > Raster Tools > Generate XYZ tiles (MBTiles)
helwin
Posts: 82
Joined: Sun Jun 16, 2019 2:32 pm

Re: Esri shapefile conversion

Post by helwin »

Ok QGIS... everyone I asked about this says it´s quite complex to do..
Psyberia-Support
Site Admin
Posts: 6406
Joined: Wed Apr 14, 2010 9:41 pm

Re: Esri shapefile conversion

Post by Psyberia-Support »

It's a bit complex because it does everything. But there are a lot of tutorials.
Hamish suggestion is very good and simple, much more easier than my 3.
Do you like AlpineQuest ? Leave a small comment on Google Play !
helwin
Posts: 82
Joined: Sun Jun 16, 2019 2:32 pm

Re: Esri shapefile conversion

Post by helwin »

Ok so here is a first result. That´s how it looks like,:
And this is how it should look like:
SchichtenDoris.JPG
(269.28 KiB) Not downloaded yet
helwin
Posts: 82
Joined: Sun Jun 16, 2019 2:32 pm

Re: Esri shapefile conversion

Post by helwin »

Hahaa! It´s working!
HLaq.JPG
(89.13 KiB) Not downloaded yet
Now I want more :D

These are 10 meter contours, there are also 1 meter contours available but I want to display them only at the last zoom level(s) and undisplay the 10 meter lines.

Any ideas how to do this?
Psyberia-Support
Site Admin
Posts: 6406
Joined: Wed Apr 14, 2010 9:41 pm

Re: Esri shapefile conversion

Post by Psyberia-Support »

Theoretically you could create your 2 maps with zoom levels defined as when the first zoom levels end, the other ones starts, then merge the 2 SQLiteDB maps into one single files (MBTiles maps are regular SQLiteDB files that can be edited with any SQLiteDB editors).
More simply, you can create one favorite set for each contour maps then display the one you need.
Do you like AlpineQuest ? Leave a small comment on Google Play !
helwin
Posts: 82
Joined: Sun Jun 16, 2019 2:32 pm

Re: Esri shapefile conversion

Post by helwin »

Psyberia-Support wrote: Sat Apr 03, 2021 5:19 pm ...2 maps with zoom levels defined as when the first zoom levels end, the other ones starts, ...
Ahem... could you please elaborate a bit on this one ...on beginners level :mrgreen:
helwin
Posts: 82
Joined: Sun Jun 16, 2019 2:32 pm

Re: Esri shapefile conversion

Post by helwin »

Ok let´s start easy first... so I can define zoom levels for for .aqx maps, but how is this done for these .mbtiles imported maps?
Psyberia-Support
Site Admin
Posts: 6406
Joined: Wed Apr 14, 2010 9:41 pm

Re: Esri shapefile conversion

Post by Psyberia-Support »

If you have created your maps using QGIS's "Processing Toolbox > Raster Tools > Generate XYZ tiles (MBTiles)", you have specified a "Minimum zoom" and "Maximum zoom" value for each map.
Make sure they don't overlap, i.e.:
- For 10 meter contours: Min zoom: 5, Max zoom: 15
- For 1 meter contours: Min zoom: 16, Max zoom: 18
Do you like AlpineQuest ? Leave a small comment on Google Play !
helwin
Posts: 82
Joined: Sun Jun 16, 2019 2:32 pm

Re: Esri shapefile conversion

Post by helwin »

I had someone else do this for me, so I am not sure about the settings used, but I will check.

Problem is, these 1 meter contours should appear far beyond zoom level 15, when 3x or 4x overscaling, because they look so dense. How to define this?
Psyberia-Support
Site Admin
Posts: 6406
Joined: Wed Apr 14, 2010 9:41 pm

Re: Esri shapefile conversion

Post by Psyberia-Support »

Zoom levels usually go from 0 to 21. So devine your 1 meter contours map from zoom 17 (or 18?) until 21.
Do you like AlpineQuest ? Leave a small comment on Google Play !
Post Reply