[Xastir] SDTS to shapefile conversion?
Tom Russo
russo at bogodyn.org
Mon Jan 3 12:49:40 EST 2005
On Mon, Jan 03, 2005 at 09:23:36AM -0800, we recorded a bogon-computron collision of the <archer at eskimo.com> flavor, containing:
> On Mon, 3 Jan 2005, Jason Winningham wrote:
>
> > Is there an easy way to convert SDTS data to shapefile format?
> >
> > It would be nice to apply a dbfawk to SDTS data, and a conversion to
> > shapefile format would be one way to accomplish that.
>
> The SDTS stuff is in the OGR library. So is Shapelib. Check out
> the ogr2ogr program to see if it can convert between the two. It's
> likely.
It can, and it's easy. Assumning one has an SDTS vector layer untarred in the
current directory and gdal installed in the user's path,
ogr2ogr -f "ESRI Shapefile" output_directory <layer CATD file>
This will create shapefiles and dbf files for all the different parts of the
SDTS vector data. The set "LE01" will be linear data, PC01 will be polygon
data, and I believe NP01 is point data.
Note that USGS has announced that they are retiring the distribution of
SDTS DLG data on 30 Jan 2005. They apparently consider it outdated
and plan to direct folks at national atlas data. Download of DLG and DEM data
from the USGS ftp site will be disabled on 30 Jan. If you like this data and
want to stock up, your window is closing.
They say the 1:24k SDTS DEMs will still be available.
http://edc.usgs.gov/DEM_DLG_discontinued.html
--
Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/
Tijeras, NM QRPL#1592 K2#398 SOC#236 AHTB#1 http://www.qsl.net/~km5vy/
"When life gives you lemons, find someone with a paper cut."
More information about the Xastir
mailing list