Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^10: Geo Package files

by Bod (Parson)
on Mar 11, 2022 at 20:34 UTC ( [id://11142009]=note: print w/replies, xml ) Need Help??


in reply to Re^9: Geo Package files
in thread Geo Package files

Rather than hardcoding assumptions or conclusions about what the machine is now, why not future-proof it?

Yes - that is certainly the plan.

It seems to me that if I need this functionality, someone else will as well. Or, at the very least, would benefit from a head-start in developing code for the next part of dealing with a GeoPackage. So some of the code will probably form a module for CPAN.

since you have not apparently tried sanity-checking your interpretation with another tool

I haven't yet as I have been away on training much of this week and haven't had the opportunity! I also feel that an external tool won't be very helpful for checking te envelope data. It will be the next step once I've decoded some fo the actual geometry data.

Replies are listed 'Best First'.
Re^11: Geo Package files
by swl (Parson) on Mar 11, 2022 at 22:09 UTC

    I'm not sure why an external tool won't be helpful.

    In QGIS, for example, it is pretty straightforward to calculate the feature envelopes. There is also a coordinate panel at the bottom of the window that shows the map coordinates as you move the mouse. This can be used to check the coordinates of features you are interested in without having to calculate their specific geometries.

    If you are comfortable using R then the sf library has tools to access features (geometries), and the st_bbox function will give you the feature envelope.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11142009]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2024-04-24 15:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found