I have received a *.lpk file from Esri's ArcGIS platform that I would like to convert to a shapefile.
How can I do this, using only free software?
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.
Sign up to join this communityI have received a *.lpk file from Esri's ArcGIS platform that I would like to convert to a shapefile.
How can I do this, using only free software?
I don't think I've ever seen this officially documented, but a layer package is a zip file that contains a .lyr file and a file geodatabase. You can change the file extension to .zip, unzip it and then, if the layer package was create with 10, read/export features to shapefiles using OGR.
7z
, not zip
.
Oct 28, 2013 at 17:12
LPK is a proprietary layer package (zip file) made by ESRI.
I stand corrected. See Zach's answer
Converting to shape file is another matter.
If the originating data is gdb then the resulting lpk unzips to a file gdb.
HTH
Find someone with ArcMap/Pro to use Feature Class to Shapefile geoprocessing tools on the file-gdb contents.
Layer and Map packages (.lpkx
, .mpkx
) are a zipped up archive of an Esri file-geodatabase and some metadata to help with style and symbol display. For a non-Esri product:
Use 7zip or similar to extract into it’s raw components.
Drill down until you find something.gdb
. This is the data. Everything else is for ArcGIS and can be ignored. There will be more than one copy of the same thing in different folders. You only need one. The naming convention goes like:
p12
is designed for ArcGIS Pro 1.2p20
is designed for ArcGIS Pro 2.0Use global-mapper, qgis, GDAL Utilities, etc. to read the file-gdb contents and export to shapefile or something else your other software can use.
As another option, there's probably way to use a free public arcgis-online account to upload, add to web map, and then extract the data.
nb: credit to @derekswingley for the critical insight of this answer.
In case you have ArcGIS installed, then open the LPK layer file in ArcMap. Select the layer and right click and then click "Data" menu item and then click "Export Data" sub-menu-item. You can select the format of the output file.