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 · 17 comments
Closed

Support Different Spatial/Geometrical Data Format #2

Sarwat opened this issue Jul 12, 2015 · 17 comments

Comments

@Sarwat
Copy link

Sarwat 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
Copy link

sabman commented Apr 1, 2016

Add the very popular GeoJSON to the list

@jiayuasu
Copy link
Member

jiayuasu commented Apr 3, 2016

Thanks for your interests!

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

@lrojas94
Copy link

lrojas94 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
Copy link

lrojas94 commented Apr 5, 2016

@jiayuasu
Copy link
Member

jiayuasu 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
Copy link
Member

jiayuasu 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
Copy link

sabman commented Apr 5, 2016

@jiayuasu see #7 for more typos

@jiayuasu
Copy link
Member

jiayuasu 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
Copy link

Do you support shapefile also?

@jiayuasu
Copy link
Member

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 #26 from jiayuasu/master
jiayuasu added a commit that referenced this issue Jan 26, 2017
Add a Gitter chat badge to README.md
@rroyhere
Copy link

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

@jiayuasu
Copy link
Member

@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
Copy link

geoHeil 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
Copy link
Member

ESRI ShapeFile support is now available in GeoSpark 0.8.0.

@rroyhere
Copy link

rroyhere commented Jun 29, 2017 via email

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 removed this from the 1.2.0 milestone Mar 31, 2018
@markgis
Copy link

markgis commented Feb 26, 2024

Are there any plans to add other geospatial formats? Geopackage would be amazing!

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

No branches or pull requests

9 participants