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

Have a way to upload geojson data through dgraphloader #1341

Closed
pawanrawal opened this issue Aug 18, 2017 · 1 comment
Closed

Have a way to upload geojson data through dgraphloader #1341

pawanrawal opened this issue Aug 18, 2017 · 1 comment
Assignees
Milestone

Comments

@pawanrawal
Copy link
Contributor

pawanrawal commented Aug 18, 2017

Dgraphloader should have a way by which we can upload files with geojson data similar to https://github.com/dgraph-io/dgraphgoclient did earlier.

@pawanrawal pawanrawal added this to the v0.8.2 milestone Aug 18, 2017
@pawanrawal pawanrawal self-assigned this Aug 18, 2017
@pawanrawal
Copy link
Contributor Author

pawanrawal commented Aug 30, 2017

dgraphloader now supports taking in the list of geo files to load along with the name of the predicate to use for storing the coordinates.

dgraphloader --geo states.rdf.gz,countries.rdf.gz

It can take in a file with a FeatureCollection and it will create an edge for each Feature.

<uid> <loc> "Geometry" .

The predicate has a default value of loc, it can be modified using geopred flag to the loader.

jarifibrahim pushed a commit that referenced this issue Jun 16, 2020
This commit brings the following changes from badger

c45d966 Fix assert in background compression and encryption. (#1366)
14386ac GC: Consider size of value while rewriting (#1357)
b2267c2 Restore: Account for value size as well (#1358)
b762832 Tests: Do not leave behind state goroutines (#1349)
056d859 Support disabling conflict detection (#1344)
fd89894 Compaction: Expired keys and delete markers are never purged (#1354)
543f353 Fix build on golang tip (#1355)
a7e239e StreamWriter: Close head writer (#1347)
da80eb9 Iterator: Always add key to txn.reads (#1328)
7e19cac Add immudb to the project list (#1341)
079f5ae DefaultOptions: Set KeepL0InMemory to false (#1345)
jarifibrahim pushed a commit that referenced this issue Jun 17, 2020
This commit brings the following changes from badger
```
c45d966 Fix assert in background compression and encryption. (#1366)
14386ac GC: Consider size of value while rewriting (#1357)
b2267c2 Restore: Account for value size as well (#1358)
b762832 Tests: Do not leave behind state goroutines (#1349)
056d859 Support disabling conflict detection (#1344)
fd89894 Compaction: Expired keys and delete markers are never purged (#1354)
543f353 Fix build on golang tip (#1355)
a7e239e StreamWriter: Close head writer (#1347)
da80eb9 Iterator: Always add key to txn.reads (#1328)
7e19cac Add immudb to the project list (#1341)
079f5ae DefaultOptions: Set KeepL0InMemory to false (#1345)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants