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

Support Different Spatial/Geometrical Data Format #2

Closed
Sarwat opened this issue Jul 12, 2015 · 16 comments

Comments

@Sarwat
Copy link
Collaborator

commented Jul 12, 2015

GeoSpark need to support different input and output data format:

GML(Geography Markup Language)
WKT (Well-Known Text)
WKB (Well-Known Binary)

@sabman

This comment has been minimized.

Copy link

commented Apr 1, 2016

Add the very popular GeoJSON to the list

@jiayuasu

This comment has been minimized.

Copy link
Member

commented Apr 3, 2016

Thanks for your interests!

Yes. We now support GeoJSON and WKT as inputs. You can try them.

@lrojas94

This comment has been minimized.

Copy link

commented Apr 5, 2016

May I ask how to you support it? By this I mean, I have a CSV file which is in WKT... should I just change the format?

@lrojas94

This comment has been minimized.

@jiayuasu

This comment has been minimized.

Copy link
Member

commented Apr 5, 2016

Hi,

We support CSV, TSV, GeoJSON, and WKT.

For CSV and TSV, you need to specify from which column (base is 0) the spatial coordinate data starts in case that the first several columns are IDs or other useless information. Then the reader will read coordinates from that column, for each row.

For GeoJSON and WKT, you can directly load data from the source file.

@jiayuasu

This comment has been minimized.

Copy link
Member

commented Apr 5, 2016

That WTK is a typo and it will be fixed along with other new features in the next few weeks.

@sabman

This comment has been minimized.

Copy link

commented Apr 5, 2016

@jiayuasu see #7 for more typos

@jiayuasu

This comment has been minimized.

Copy link
Member

commented Apr 6, 2016

@sabman Thanks for pointing this out. I will fix it later on.

@Sarwat Sarwat assigned jiayuasu and unassigned jinxuan Apr 10, 2016

@tiwanpunit

This comment has been minimized.

Copy link

commented Oct 21, 2016

Do you support shapefile also?

@jiayuasu

This comment has been minimized.

Copy link
Member

commented Oct 22, 2016

Hi, currently, no. But we can add it in the future version. We now support reading/writing csv, tsv, wkt and GeoJSON.

jiayuasu added a commit that referenced this issue Oct 27, 2016
Merge pull request #2 from DataSystemsLab/master
Merge pull request #26 from jiayuasu/master
jiayuasu added a commit that referenced this issue Jan 26, 2017
Merge pull request #2 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
@rroyhere

This comment has been minimized.

Copy link

commented Mar 14, 2017

Hi, do you support shp files yet as input format?

@jiayuasu

This comment has been minimized.

Copy link
Member

commented Mar 15, 2017

@rroyhere Sorry. We haven't finished the shape file input support. You probably can convert it to WKT or CSV and then use GeoSpark to load it.

@geoHeil

This comment has been minimized.

Copy link

commented Apr 15, 2017

Actually, using geotools in spark to perform such conversions in parallel fashion is pretty easy and opens a door to a variety of geo-formats.

@jiayuasu

This comment has been minimized.

Copy link
Member

commented Jun 29, 2017

ESRI ShapeFile support is now available in GeoSpark 0.8.0.

@rroyhere

This comment has been minimized.

Copy link

commented Jun 29, 2017

jiayuasu added a commit that referenced this issue Jan 8, 2018

@jiayuasu jiayuasu added this to the 1.2.0 milestone Mar 25, 2018

@jiayuasu jiayuasu added resolved and removed help wanted labels Mar 25, 2018

@jiayuasu jiayuasu removed this from the 1.2.0 milestone Mar 31, 2018

@jiayuasu jiayuasu added this to the 1.1.1 milestone Mar 31, 2018

@jiayuasu jiayuasu closed this Apr 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
8 participants
You can’t perform that action at this time.