Skip to content
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

Features suggestion: order of columns and short names #142

Open
rtsaboya opened this issue Dec 10, 2016 · 2 comments
Open

Features suggestion: order of columns and short names #142

rtsaboya opened this issue Dec 10, 2016 · 2 comments

Comments

@rtsaboya
Copy link

Hello, Jorge:
I would like to suggest a couple of features that, hopefully, wouldn't demand more than a few lines of code:

1. Properly ordering resulting columns
If we run an analysis with multiple radii, the order in which they appear is defined alphabetically, resulting in something like this:

int | intr1000m | intr10000m | intr1500m | intr500m | intr5000m

It would be a nice touch if they could be ordered by radius size instead.

2. Offering the option to generate short field names in Spatialite and PostGIS as well
One of the most valuable features of the plugin is the ability to generate short field names that remain legible despite shapefiles' limitations regarding the size of column names. This greatly facilitates their handling, especially comparing to the old use case scenario of importing and converting MIF files.

It would be a nice addition if we could choose short names for Spatialite and PostGIS too, considering that they may be later exported to shapefile for sharing purposes.

Thanks for this awesome plugin!

@jorgegil
Copy link
Collaborator

Hi Renato,

Thanks for the suggestions.

The column order is the one provided with the depthmapX results. I'll have a look into this, although it's not a trivial modification because the order returned is not the same as the order of the radii provided for analysis. So the tool will need to figure out from the column names what radii they map to.

Having an option for short names in Spatialite and PostGIS is more straightforward, a simple modification that I can include in the next update. I have also faced the problem of exporting results from PostGIS into shapefile and getting the garbled column names.

Best,
Jorge

@rtsaboya
Copy link
Author

Jorge, thanks for the quick reply.

Now that I come to think of it, it seems kind of obvious that I should have asked for the change in column order in Depthmap's page.

Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants