shapefile icon indicating copy to clipboard operation
shapefile copied to clipboard

Can’t fetch URLs that don’t have .shp/.dbf extensions.

Open mbostock opened this issue 4 years ago • 2 comments

Testing for .shp or .dbf at the end isn’t a good test for URLs. For example, it means you can’t pass a URL to an Observable FileAttachment (because those never have the .shp extension, and adding the .shp extension breaks the URL).

I think we should probably get rid of this magic. It might be okay to replace .shp with .dbf if the dbf argument is undefined, but otherwise I think we should leave the URLs as-is.

mbostock avatar Mar 02 '20 01:03 mbostock

Second this motion

polkerty avatar Jul 23 '20 20:07 polkerty

Not that it needs a third but....Third this motion.

chadRoberge avatar Nov 09 '20 01:11 chadRoberge