Support Staff3 Posted by Dane on 15 May, 2012 05:45 PM
Download shapefiles from that URL is NOT going to work. The
reason is that they use redirects and the url does not have a .zip
extension. This breaks the assumptions in the tilemill downloader:
So, your only option is to download them manually to the
filesystem, unzip them, and load them into TileMill using the full
path to the shapefile, on disk.
Ok so I am again new this this whole system so could you guide
me through now to load them into TileMill using the full path, I
unzipped the folder there are all the files but when I try to
upload the shape file I get this error:
'Unable to determine SRS for layer "buildings" at
That file is the only one selectable when I go to add a layer.
Sorry for not understanding this, can you guide me through this
Support Staff5 Posted by Dane on 18 May, 2012 10:53 PM
I'm not sure why that error is happening. There is clearly a bug
in the TileMill windows version around loading shapefiles from the
disk (as well) as I have seen similar reports on windows. I think
it must be a caching issue whereby the first failed attempt leaves
behind files that mess up later attempts to re-load. Can you try
creating a fresh project, then adding a layer, and browsing to find
your 'Building.shp' and then let me know if that works?
However, you should be warned that this file (as you likely
know) is highly detailed building footprints. It is going to render
very slowly in TileMill due to its size, and especially due to the
fact that is it in a different projection than the map. While you
can't do anything about the size (other than try to design your
styles to only view the data at high zooms), you can fix the
reprojection performance cost, by reprojecting to Spherical
Mercator before loading into TileMill. This is where the http://mapbox.com/tilemill/docs/guides/optimizing-shapefiles/
guide comes in.
So I have tried creating a complete new project and was still
not able to add the building zip you attached. Thanks for taking
the time for trying to help me out on this. The weird thing now
though is when I even try to add a layer that already works from
another project, like States, I get the same error.
Why would this be happening? I tried adding both the zip and
then just the shp file. I am attaching the States zip file that
worked in one project but not in this new project. Is there a
specific setting I need to put the SRS or some kind of Advanced
argument I should be putting in? Any advice is welcomed.
Support Staff7 Posted by Dane on 21 May, 2012 03:15 PM
I presume it is not the states shapefile that is the problem
now, but rather than your project is somehow busted due to the
original shapefile. If creating a clean project does not work,
perhaps you need to clear out the old one first? Also, can you
confirm that creating a new clean project and loading the
10m-admin... does work if that is the only layer added
to the project?