Skip to content

ahinz/scala-shapefile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Shapefile Parsing for Scala

Overview

Scala Shapefile is an experimental library that provides support for parsing shapefiles.

What's supported now?

All standard X,Y geometries. Only .shp files are supported. The index file (.shx), projection file (.proj) and database file (.dbf) are currently ignored.

What will be supported (at some point)?

Indexed access and DBF will be added soon. Lazy access will also be added before too long.

Example

import geotrellis.shapefile.{Parser,Record}

val p:Seq[Record] = shapefile.Parser("src/test/resources/UScounties.shp")

Each record contains an id and jts Geometry

About

Shapefile Parser written in Scala

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages