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

Multiple features in a single document #67

Open
mfgumban opened this issue May 27, 2020 · 2 comments
Open

Multiple features in a single document #67

mfgumban opened this issue May 27, 2020 · 2 comments

Comments

@mfgumban
Copy link
Contributor

Investigate and test this scenario:

  • Multiple features are stored in a single document (say, an array of GeoJSON objects with some properties)
  • Use geojson for geometry.format and use the geometry.xpath option.

There is potentially a problem during extraction, as xpath would produce multiple geometries per optic row, since the join happens on the document level and there's only one document.

Currently you can work around this materializing the geometry on the TDE and using geometry.source.column instead to extract feature geometry.

@grtjn
Copy link
Contributor

grtjn commented Aug 17, 2020

May depend on how specific that xpath is, or needs to be. TDE sounds like a safer approach though..

@jkerr5
Copy link
Collaborator

jkerr5 commented Jan 3, 2023

Look at Optic Geo in MarkLogic 11 to address this.

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

No branches or pull requests

3 participants