PHP5-Shape-File-Parser
PHP5-Shape-File-Parser copied to clipboard
Parsing .dbf and .shx files
Hi,
I'm new to shape files and GIS in general.
I'm working with a set of map data and I'm able to load the .shp file with your library and read out what looks like x, y and polygon information (yay) but I'm missing information that I believe is held in the .dbf file (sigh). This is the label for each polygon (the name of the place).
Does this library support this / do you have any tips that will help me consolidate this data?
You should be able to load associated data by zipping the .shp and associated files together, and reading the zip file instead of the shp file directly.
Disclaimer: I haven't actually used this library in years, not sure if this is still accurate. Basing this on the notes in the README.