Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I downloaded an LPK file from the ESRI site that contains USPS defined zip codes. Because I'm working with QGIS on a Mac, I converted the file to a .zip. There's a .lyr file that opened up in the zip, but I'm not able to open that up on QGIS.

Is there a way to convert the contents of an ESRI layer package file (.lpk) into a shapefile with the associated data, and that I can open with QGIS on a Mac? I looked into using utilities like 7-zip, but it doesn't seem to work on a Mac.

Apparently one of the .xml files in the layer package should contain a link to the actual data under the packagelocation tag, but I wasn't able to find that tag in the .xml files. Does anyone know if that tag name might have switched? I downloaded the layer package file from here.

share|improve this question
    
Try renaming the .lpk to .zip and extract it. Is there a FileGDB in there? If there is and it's >=10.0 then you may be able to open it in QGIS or use gdal (ogr2ogr) to convert it into a shapefile. I remember doing something similar with a map package. –  SaultDon Jun 24 '13 at 20:00
    
gis.stackexchange.com/questions/24662/… - Looks like data is stored as an .sdc which is a compressed format proprietary to ESRI. ArcCatalog may be able to convert to shp. –  SaultDon Jun 24 '13 at 20:21
3  
yay for closed formats! –  Nathan W Jun 25 '13 at 5:09
    
There's no GDB file in the zip, and that ArcCatalog tool is unfortunately proprietary. Would the file formats be more compatible to a conversion if I download/ use Windows Virtual Machine? –  Alex Jun 25 '13 at 15:12
1  
Hi all- thanks for your help! The Census Bureau's ZTCA files cover tabulated areas, rather than encompassing all USPS zip code routes, so in dense areas like NYC, I was missing a good handful of zips. On the bright side, we came to a solution! By downloading Windows Virtual Machine, I was able to open and convert the .SDC file using lib.ncsu.edu/gis/formats.html . Turns out you just need to say your on campus to gain access. Thanks for your help everyone! –  Alex Jul 1 '13 at 13:14

2 Answers 2

From the Comments it appears that the asker solved this by unzipping the *.lpk to find a *.sdc file that was then converted to shapefile format using instructions from NCSU Libraries' Geospatial Data Formats page.

share|improve this answer

LPK is a proprietary format, so conversion isn't possible.

If you're looking for zip code boundaries in other formats, you should turn to the US Census Bureau:

Go to: http://www.census.gov/cgi-bin/geo/shapefiles2013/main and choose "zip code tabulation area"

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.