Hot answers tagged file-formats
Using the open source ogr2ogr from GDAL/OGR: ogr2ogr -f 'ESRI Shapefile' output.shp input.kml
Yes. Inside the .kmz is a file called doc.kml. You can use 7-zip to open the kmz archive.
ArcGIS 10 has a GP tool called KML To Layer that converts KML to a feature class. Search for KML using the new search. I've used this to take the oil spill kml feeds from Google and convert them into SHP.
They're not published, and you're probably not supposed to reverse engineer them and still expect free cookies at the ESRI UC, but they're basically OLE2 Compound Document format files, like MS Word & Excel documents. With a nice tool for cracking them open (e.g. http://www.gemboxsoftware.com/CompoundFile.htm), you can get to the hacking part pretty ...
I would suggest downloading and installing QGIS. You can then open the file that you link to and export the data in variety of formats. The most common format for spatial data of this type is a shapefile which is one of the files that you linked to (TM_WORLD_BORDERS_SIMPL-0.2.zip). The reason that it is a zipfile is that there are several associated files ...
The idea you're probably thinking of is GeoPackage. Background. The background to the requirement came from the US Army Geospatial Center which is part of the Corps of Engineers, who were looking for a way to put maps and other information (points or interest, routes, photographs and other observations) into a simple "one file has it all" format for mobile ...
Shapefiles are the lowest common denominator of GIS vector data file exchange: send an archive of shapefiles, and you can pretty much guarantee that someone will be able to build a basic GIS from it. SpatiaLite's advantages include: everything's in one file; none of the shp/shx/dbf/idx/prj per layer mess. logic as well as data can be included, in the form ...
Shapefiles are bound to one type of geometry, so you get a bunch of files for a single project. The field names are restricted too due to using an antiquarian database format. In spatialite, you can hold the whole project data in one file; and name the fields how you want (well, almost). The only disadvantage of spatialite is the fast update cycle, making ...
The answer is No.
Well, where to start. Although you can divide data by vector/raster etc there are some obvious problems. For example an Oracle database can store vector or raster (as can other databases). I work at Safe Software where we generally prefer to look at Spatial data (rather than just GIS) and so divide into different categories according to use. CAD GIS ...
Back in the dim and distant past, these formats came about from different proprietary software developers. GRID came from ESRI. IMG came from ERDAS and TIFF came from Aldus (are they still on the go?). So that explains why we have the three of them. There are some differences though: Portability - of the three you mention the GeoTiff is probably the ...
In the Esri world an .asc file usually refers to the output created by the GRIDASCII command (ArcInfo Workstation) or Raster to ASCII tool (ArcGIS for Desktop). In practice it can mean just about any format, usually plain text, meaning one can't assume from the .asc extension what it looks like inside. It's an interchange format, meaning it's not (normally) ...
You're almost there. This is on Windows 7, Python 2.6.5 32bit, and GDAL 1.9.0: >>> from osgeo import ogr >>> driver = ogr.GetDriverByName("FileGDB") >>> ds = driver.Open(r"C:\temp\buildings.gdb", 0) >>> ds <osgeo.ogr.DataSource; proxy of <Swig Object of type 'OGRDataSourceShadow *' at 0x02BB7038> > ...
Use ogr2ogr, but if you're not interested in a command line, try ogr2gui - a really simple front end for ogr2ogr.
ArcGIS will export a .dbf to .txt. You can then rename it to .csv. First turn off the fields you do not want exported under Properties, Fields. Right-click the table, data, export. Select the browse folder button, change the "save to type" to .txt. Step-by-step instructions to follow comment by @Brandon (ArcMap 10.1) Right Click on .shp in TOC Open ...
Vector Shapefile (ESRI) Tech Spec PDF 2.5 billion files est MapInfo Tab/MIF (Pitney Bowes Business Insight) Tech Spec 1.5 billion files est AutoCAD DWG (AutoDesk)** has 18 major variants of the DWG "Autodesk estimates that in 1998 there were in excess of two billion DWG files in existence" Fastest adopted format is KML/KMZ Google Earth/Pro est 0.5 ...
One reason is because spaces carry special meaning in several programming/scripting languages. Making a habit of naming files and folders with underscores is a good practice because then the " " (spaces) will not be treated as a new-line by some languages. Example - A folder called "GIS Data" is a bad folder name. This is because if I try to access it with ...
or change the file extension to .zip under windows to open with winzip. In unix/linux/osx: cp myfile.kmz myfile.zip unzip myfile.zip cp doc.xml myfile.kml
In addition to scruss' answer, shapefiles has some limitations: max field name length is 10 characters maximum file size (.dbf / .shp) is 2GB numeric attributes are stored as characters (integers/floats), causing potential problems with rounding etc NULL values are interpreted differently between systems
There are some geoprocessing tools that will fail if there are spaces in file names. Thus, it's best to avoid them all together.
If you are interested in command line tools, you can use GDAL/OGR from OSGEO. http://www.gdal.org/ogr/index.html
You could use gdaltranslate. gdal_translate -of GTiff myFile.jpg myFile.tif This will actually give you a geoTiff, not a tiff with a world file. You could also try renaming your 'TGW' file to a 'TFW'.
I like @celenius' answer; however, another option would be to export the the World Borders Dataset to CSV using ogr2ogr. I just downloaded your preferred dataset and ran this command with ogr2ogr --note that your script should be a single string without any line breaks. I find them easiest to write in notepad with wordwrap turned on, then I copy them into my ...
This is most likely no practical solution, but you can import your kmz-file in google earth (open) and export it (rightlick -> save) it as kml. Somehere out there is certainly a easy tool for conversion/extraction.
No need for a third party tool. Change the extension to .zip, open and extract the file you want.
The easiest format for external reading/writing would be a pure binary file (BSQ, BIL, or BIP). These have absolutely no header information contained within--only a stream of bits beginning with the first data point and ending with the last data point. The ordering of bits in n dimensions will vary on the interleave method: either band sequential (BSQ), band ...
No it's not possible. Like PolyGeo said you could write a conversion script using ArcPy that reads the QGIS project file (which is just XML) and load each layer. There would be a bit of work but you might even be able to match some of the styling. However there would be a lot of effort in this and it might not be worth it for a single project.
GDAL supports .img format, both the basic Imagine and the extended Imagine (greater than 2GB), thus any software that utilizes GDAL drivers would support ERDAS Imagine. The most workable and well documented that I have seen is QGIS. It is also open source and therefore free.
There is no universal vector format in GIS. However, some formats are proprietary and other are openly specified (like the shapefile) so that they can be read and/or written by other softwares (if they decide to implement). For data sharing, the best solution to date is to use shapefile, which is now the most widespread format. Shapefile is however an old ...
File extensions are mostly meaningless. Sure, they might indicate the file's format but you can easily rename a .exe file to .txt and the file would not change itself. File extensions are mostly used for ease of usage and on some operating systems to decide what to do (which program to launch) if a user tries to "open" a file. Opening an .exe file that was ...
Only top voted, non community-wiki answers of a minimum length are eligible