|
SHP
SHP (ESRI Shapefile Reader)DescriptionSHP is an ActionScript 3 library for parsing ESRI Shapefiles. The current version has support for the following Shape Record types:
DownloadThe current release is Beta 0.1. It can be obtained using SVN: svn checkout http://vanrijkom-flashlibs.googlecode.com/svn/trunk/org/vanrijkom/shp More info |
► Sign in to add a comment
Neat work with great potential. Would like to use for a flex project. Any chance to get access to samples and API documentation (link is dead).
Yeah, can we see those samples? Would love to use this....
No api , no source ....
This has been dead for MONTHS now... what gives?
You could always try out the webarchive, it helped me! http://web.archive.org/web/20071119113250rn_1/vanrijkom.org/samples/fsd-mexico/srcview/
Thanks for the tip. Just wonder how to use this example. do i need to compile the code to a swf file or any class? Please help!
I created an example of using these classes with Adobe Air, and the Google Maps API for Flash/Flex/Air. Available here: http://www.boxshapedworld.com/blog/post/Shapefiles-Actionscript-30-and-Google-Maps.aspx
thx to dslamb! ur post really helps! :)
Fine, now i can attach my shapefiles, but what can i do if i want to add markers to my map? i just got the longitude/latitude from the markers
You can find another tutorial demonstrating the usage of the SHP library here: http://vis4.net/blog/2010/04/reading-shapefiles-in-as3/
This is fantastic. Two things: 1) the ability to read a .prj file and turn it into a wkid (number) 2) if you try to take the types shpPolygon, shpPolyline, etc and put them through a geometry service, to project the shapefile before you add it as graphics to the map, it will die. So it would be great to have a class/utility that turns the shpPolygon (etc) into a native flex api Geometry supported by GeometryService?::Project. for instance:
Wondering if this will allow for holes in polygons?