Comments (6)
Any background on this? Do you have concrete use cases in mind where this would be needed?
from hale.
I got a request via the INSPIRE thematic clusters forum with the following rationale:
I am asking this because if storing counterclockwise spatial data in a PostGIS database and if records will be added or edited with qGIS for example, (or if a shapefile is imported in PostGIS) then only the added/edited records will be stored clockwise, so in the same table will have both types> clockwise and counter clockwise. Even if PostGIS and qGIS have no problem with this, still a mapping problem exist.
It's also a pretty common transformation function in other spatial ETL software, so I am not surprised people expect such functionality.
from hale.
Makes sense in that case. At least if PostGIS by default does not assume a specific winding order that we are unaware of.
It's also a pretty common transformation function in other spatial ETL software, so I am not surprised people expect such functionality.
Well in hale right now using this transformation function will prevent the user from doing anything else with the geometry.
from hale.
PostGIS allows - via a constraint - to control which winding order is used, but doesn't do automated conversion AFAIR.
I am aware of the limitation you mention, which is part of the reason why we implemented it first as a Writer Option. We could also go a third way: Provide the functionality as a helper function for Groovy Functions/Custom Functions.
from hale.
PostGIS allows - via a constraint - to control which winding order is used
If we can determine this for a geometry or geometry column we could also apply that in the PostGIS geometry handling on hale side (like the CRS conversion).
from hale.
Here's some info on the PostGIS functions:
http://postgis.net/docs/ST_ForceRHR.html
http://postgis.net/docs/ST_ForceLHR.html
Not sure how we could extract their usage. Also, they seem to fail for some large and/or complex polys.
from hale.
Related Issues (20)
- Update org.deegree so that it can be used in hale studio that uses java 17
- Proxy issues with v5.0 HOT 4
- Whitelist Pattern class HOT 1
- what serializations of rdf are expected for import codelist in skos format HOT 2
- Loading Access database as source schema is not possible HOT 1
- Regex Analysis and Formatted String mapping on source property with value and attribute not working HOT 5
- extend shapefile writer to create .cpg file HOT 1
- Custom Export config: Type selection broken
- Export more than one type when exporting to an Excel file
- Shapefile export does not work when feature types without geometry are present
- Read Shapefile with multiple geometry types with lenient or strict read mode HOT 2
- Shapefile writer shortens field names automatically during export HOT 2
- Update bundled resources
- Avoid transforming data after every file when loading multiple source data files
- Change of style for a type that occurs in source and target schema is applied for all occurrences
- Shapefile writer is behaving differently for execution via UI (expected result) and via CLI (one type missing)
- CSV writer: Reduce multi geometries to single geometries if no multi geometry is contained HOT 1
- hsd export is missing <hsd:entry> element for property with same name as type
- Enhancement: Provide option to overwrite content in Geopackage Writer instead of appending content HOT 2
- ShapefileInstanceWriter does not use source schema for datatypes
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 hale.