Questions tagged [import]

To bring data from one computer system or application into another.

Filter by
Sorted by
Tagged with
46
votes
8answers
140k views

Importing DWG into QGIS project?

I have a lot of DWG files like basemap, and water and wastewater network. How do I import these files into my QGIS project?
26
votes
10answers
43k views

Converting KML to shapefile without losing attributes using QGIS?

I have a KML file with hundreds of points. To each point there is information, such as Name, Power, Age (it's a map of hydroenergy powerplants). If I import that KML file to QGIS, this information is ...
33
votes
10answers
16k views

Seeking options for Spatial ETL (Extract, Transform, Load)?

I am interested in the pros and cons of various spatial ETL (extract, transform, load) tools. If you have used the items listed here (or add your own), I seek your opinions and experiences. In ...
9
votes
6answers
5k views

QGIS won't read table columns in CSV import on Mac OS

I am trying to import a CSV file into QGIS, but it ends up looking like my print screen below (program is in Swedish but in the preview window you can see how QGIS won't read my data correctly). I can'...
16
votes
6answers
17k views

Preparing CSV files for use in ArcGIS Desktop?

How do I prepare CSV files for use in ArcGIS Desktop. I ask because I have some troubles using CSV files because ArcGIS attributes wrong field types to my columns and also misinterprets special ...
12
votes
5answers
12k views

Setting up PyCharm to reference ArcPy?

How would I setup PyCharm to recognize import ArcPy? I'd like to use PyCharm to develop and debug geoprocessing tool.
12
votes
1answer
1k views

Why the order of imports matters in a standalone PyQGIS processing script?

I've come across a weird issue while running standalone PyQGIS processing scripts. The order of imports in the script affects its normal execution. You can reproduce the problem by opening a Python ...
5
votes
1answer
27k views

How do you import simple xyz in QGIS

I have found out how to get tab-delimited X,Y data into a layer but the Z field value is not given as an option on import? I tried to edit the attributes to add and define a new field but it keeps ...
18
votes
5answers
20k views

Is it possible to georeference an existing, un-georeferenced pdf?

I was wondering if there was anyway to georeference a pdf directly without first converting it to an image. I have access to ArcGIS 10.1 but haven't been able to find any information that would ...
8
votes
3answers
15k views

Import GeoJSON into PostGIS

I want to import GeoJSON avaliable in the following dump into PostGIS but I am not able to import it. I already imported geousa data available in this public dump into MongoDB smoothly. Let me know is ...
6
votes
1answer
7k views

Using ArcPy outside of ArcMap?

There may be something I'm missing, but is it possible to use the arcpy module outside arcmap? My situation is that we have one license on a computer which is shared over a network. I need to do ...
13
votes
2answers
15k views

How can I sucessfully import 3D surface and features from ArcGIS 10 into Sketchup 8?

What are the steps required to successfully export an entire 3D model (composed of TIN surfaces, 3D polygons, 3D polylines and 3D points) from ArcGIS 10 to Sketchup 8? Preferably, I would like the ...
11
votes
4answers
14k views

ArcGIS fails to import all records from huge CSV file to file geodatabase table despite being within FGDB table size limits

I'm using ArcGIS 10.0 on Windows 7 64-bit with 4GB of RAM. I have some very large tables in CSV format to import to ArcGIS, they all have about 30 fields, upwards of 5 million records per table (a ...
3
votes
1answer
377 views

How to apply the same style to different columns?

For many of my datasets I have the same imported data duplicated numerous times, each iteration displaying the data values for a different column (in my case it's fish catch weight per gridded cell ...
4
votes
1answer
3k views

How to auto-create a schema.ini file for a .csv?

I have been given some data in a csv file, which I need to import into my ArcSDE geodatabase. ArcGIS is having problems recognizing the field types, and is not importing some data. It is recognizing ...
18
votes
4answers
70k views

Opening and extracting data from Shapefiles?

We are in need of US highway data. We found it for Florida at the state GIS website. We downloaded the data for Florida highway intersections from here (this is a zip file). How do we use these ...
10
votes
1answer
2k views

Integrating geolocated Twitter posts in ArcGIS for Desktop?

Is it possible to integrate the lat/long data included with Twitter posts (those few that have it enabled of course) into an ArcGIS Desktop environment? I've seen Twitter applications on ArcGIS ...
9
votes
1answer
21k views

How to import using shp2pgsql?

I want to import shapefile into PostGIS. There is one database postgres in it but no table added yet. I am using this command: shp2pgsql -I -s 4326 districts.shp districts | psql -d postgres -U ...
8
votes
2answers
8k views

Importing large dataset with osm2psql? [closed]

My question is similar to slow import via osm2pgsql to postgresql database and Optimizing osm2pgsql imports for OSM data but as we currently have quite some problems importing a large set of OSM data ...
7
votes
1answer
10k views

QGIS and SQL Server Spatial Tables Performance

I'm trying to get a SQL Server 2008 R2 spatial database up and running to streamline the production of maps using QGIS. Currently I just have a handful of spatial tables (a postcode level point table ...
6
votes
3answers
5k views

How to preserve non-ASCII characters in ogr2ogr import?

I want to import a list of international place names and their locations into a SQL Server database using ogr2ogr. The source data is a CSV file encoded in UTF-8. I've prepared a five-record sample ...
7
votes
1answer
2k views

Difference between raster() and readGDAL()?

I am new in working with rasters and after having trouble working with them i'd like to know the difference between those two import functions. for example i did this library(raster) s<-...
6
votes
3answers
14k views

Importing Lat/Long coordinates as CSV file & only displaying single point in QGIS

I am using QGIS and trying to import Lat/Long coordinates as delimited text layer. All points show up in my attribute table, however, only one point is displayed on the map? Any ideas?
5
votes
1answer
5k views

GDAL loads in Python, but not IPython (Linux)

I am trying my hardest to utilize the work of the good folks at the GeoDa center, but I cannot seem to get all of the components to load. GDAL, in particular, has been giving me some difficulty. The ...
4
votes
1answer
773 views

Re-import custom functions without restarting QGIS

I have a python file (in [user]\.qgis2\python) with some functions that I'm working on. It's just a .py file with a bunch of def function_1, def function_2 etc. in it. On startup I import the .py file ...
3
votes
2answers
3k views

Import Points with WKB format to QGIS

I have a .csv file with population data according to specific locations (Points). My problem is that all locations are given in WKB format like that: ...
4
votes
1answer
1k views

Is there a way to select what to import from planet-latest.osm.bz2 to database?

Is there a way to select what to import from planet-latest.osm.bz2 to database? I want to do something like : osm2pgsql ... --place='city' --admin_level='2' My goal is to use only cities and ...
4
votes
2answers
1k views

How to filter OSM data for addr keys with Osmosis

I'm trying to import the address data of a specific country from an OSM file into a MySQL DB. I tried to insert the data with osmosis and also to filter them with osmfilter before running OSM but ...
3
votes
1answer
1k views

How to manage the osmosis command line?

This refer to this post : Read Here I'm in trouble when using osmosis command line to export data from planet-latest.osm.bz2 directly to osm2pgsql using some criteria to select what to transfer. I ...
3
votes
2answers
136 views

Visualization of pictures for points in QGIS

I'm working with QGIS Desktop 3.2.3. A Colleague of mine worked on a Google Map and inserted in his Google Map Pictures. He exported the KML and gave it to me so that I can import it to QGIS. The ...
1
vote
2answers
570 views

Empty layer after import into PostGIS Database. Pyqgis

I'm facing troubles to import a layer into a PostGIS database with pyqgis in a script. Here is my code: Nombre_BBDD='test' host='localhost' puerto='5432' usuario='postgres' password='xxxxxxx' ...
1
vote
2answers
6k views

Import error:No module named _gdal

I have installed python 2.5.1 and FWTools2.4.7 in my laptop(Windows 7) when i run my pythonscript in FWTools i get following error Import error:No module named _gdal can any one suggest how to solve ...
1
vote
0answers
1k views

Arcmap reads column of integers in .csv as strings instead of numbers [duplicate]

When reading a column of integers (land cover classes) from a CSV file, ArcMap (10.5) automatically assigns a field type of 'string', rather than a number format (e.g. 'Long'). This makes it so you ...
1
vote
2answers
1k views

Imported TIF has dark gray background instead of white

using QGIS 2.6 I import a TIF file, and expect the import to show an image that has black lines on a white background (with some other colors here and there), as the native windows viewer will see a ...
1
vote
2answers
2k views

QGIS 2.4 - Python 2.7 PyQT4.Qtcore.QStringList Import failed

I receive an import error when trying to import QStringList from the QGIS Python console (or when loading a custom plugin). from PyQt4.QtCore import QStringList Traceback (most recent call last): ...
0
votes
4answers
3k views

OpenLayers With UK Ordnance Survey Maps

How do I use UK ordnance survey maps with OpenLayers API without committing myself to using the OpenSpace API. I need to have generic OpenLayers code only.
0
votes
1answer
372 views

How to import Ordnance Survery raster layer to ArcGIS Desktop?

I have downloaded raster map data from ONS, the data has come in the form of two files... one is full of .tlw files and the other is full of .tab files... How do I import it into a raster layer to ...
39
votes
4answers
12k views

How to migrate from ArcGIS for Desktop to QGIS? [closed]

Our lab has about 10 projects in ArcGIS 9 (a couple are made in ArcGIS 10) that includes the following in each: A georeferenced (WGS1984 geographical projection) raster seafloor image, representing ...
11
votes
5answers
3k views

Seeking tools for uploading GIS data to database?

I would like a nice graphical tool that allows me to take standard gis data such as shp files and kml files and upload them to a database such as PostGIS, MySql or Oracle. Are there any such tools?
2
votes
1answer
2k views

How to keep georeferencing from ArcGIS when importing raster into QGIS?

I tried searching for the answer to this, but I didn't see anything, so here it goes: I have previously georeferenced some .png raster images in ArcGIS 10.2.2, and could like to import them into QGIS....
11
votes
1answer
15k views

Importing shapefiles to SQL Server [closed]

I often use the brilliant SQL Server 2008 Spatial Tools to import shapefiles into SQL Server 2008. This works absolutely fine but it leaves me wondering, how do Microsoft expect end users of SQL ...
7
votes
3answers
3k views

Getting ArcMap to recognize csv column as float and not int? [duplicate]

I am trying to show a .csv file (2 columns, 291 rows) in ArcMap 10.2 using Catalog window to drag the .csv file into ArcMap. The second column of the .csv is a floating point number (range is [0-1]), ...
5
votes
3answers
3k views

How to rename PostgreSQL/PostGIS columns while importing Shapefiles?

I discovered shp2psql to successfully import geospatial data from ESRI Shapefiles into PostgreSQL/PostGIS. Now I would like to automatically rename the target column names. Is there any mechanism ...
5
votes
3answers
3k views

Why would “import arcpy” hang Python script run from DOS/cmd prompt?

I have a very small test script (test.py) that I use to see if Python is installed and ready to use ArcPy. All it contains is: print "Starting" import os print "OS imported" import arcpy print "ArcPy ...
2
votes
1answer
1k views

Import of NAS-data, (norm-based data exchange interface)

Is there any possibility to import nas-data in QGIS. NAS (norm-based data exchange interface) is a XML-based format. German cadastral-data is only available in this format.
13
votes
1answer
18k views

Import polylines and polygons into QGIS from CSV

I'm assuming this is a simple question, though my efforts have not yet found the answer! I want to import a large number of polylines and/ or polygons into one one or more QGIS layers in order to ...
12
votes
4answers
21k views

Importing .shp to PostgreSQL?

I want to import a shp file to postgreSQL. First I create sql file and then run PostgreSQL. To create sql file, I run this command in windows cmd: shp2pgsql -s 4326 worldCountries.shp worldcountries ...
7
votes
1answer
4k views

Setting geometry types importing to PostGIS with OGR

I'm using ogr2ogr to import data into a PostGIS database. Each dataset I need to import has (theoretically) the same exact data structure, but it appears that they are not the same geometry types. ...
6
votes
2answers
2k views

How to batch import GDAL supported raster files into GRASS?

I am trying to import some GDAL supported raster files into a binary raster map layer using the r.in.gdal module from QGis Grass tool. As I have multiple files to import, I would like to batch import ...
6
votes
3answers
26k views

Import info from mdb file into a project?

I need to import info on a QGIS project. The info are in a MDB file (population, mean age, number of cars and so on: one record per region) that is written to be connected with a region shape from an ...