Tag Info

Hot answers tagged

17

To be honest the time frame you mentioned for the migration sounds really tight, especially if you want to research, test, evaluate and deploy! We have recently migrated from using ArcGIS as our desktop client to QGIS. While everything you have mentioned sounds possible the biggest issue I have found is managing the storage of Raster datasets, but like Nick ...


15

1) Analyse the areas outlined with the polygons and added buffers to some of them. Buffers are supported. For further help, we'd need to know what "analyse the areas" means. 2) Answer questions like: Does this kind of fish (represented by a layer of points) always occur near a certain rock type (represented by polygons or points). You can check if ...


11

Previous MXDs should load, no need for conversion. However, it will save to 10.0 when you save your updates. However: import arcpy import glob import os for pathname, directories, filenames in os.walk(r"c:\startdir"): for filename in filenames: if filename.lower().endswith(".mxd"): mxd = ...


6

arcpy (actually arcgisscripting which it wraps) extends a specific version of python. At arcgis 10.0 you need to run with python26. I'd make sure all the versions are matching. Instead of doing this C:\> test.py Do this C:\> C:\python26\Desktop10.0\python.exe test.py Then you know it's starting the correct version of python. If that second ...


6

In ArcPy, you can do a table to table conversion, which supports csv. from ESRI: "For file input (.csv or .txt), the first row of the input file is used as the field names on the output table. Field names cannot contain spaces or special characters (such as $ or *), and you will receive an error if the first row of input file contains spaces or special ...


5

You can use the DataInteroperability (DI) - Import/Export tool (using IGPTool) for the same. The extension is enabled by default for ArcEditor for certain formats (including CSV and GML) and allows data to be read/written. I've done a similar export (to GML) some time back and it works perfectly!


5

You can direct your .py script or interactive interpreter to the location of your arcpy installation. This would be achieved using the sys library and an append method on your sys.path import sys sys.path.append("path to arcpy") "path to arcpy" is usually: "C:\\Program Files (x86)\\ArcGIS\\Desktop10.0\\arcpy" However, I am not familiar with accessing ...


5

I have seen this behaviour in other software when the number of entries in a row doesn't match the number of field headers, or the data type changes at one line (ie a string field finding a numeric entry or visa versa). You would be advised to examine the rows carefully, particularly if you are using a spreadsheet to create the *.csv since mixed data types ...


4

As far as I know, this is not possible using the GUI since the underlying OGR library doesn't support spatial queries (Source: Spatial joins in OGR SQL). You could write a Python solution for this problem. It could check the feature bounding box against your area of interest and only add the feature to the QGIS layers if the areas overlap.


4

Based on what you've told us, I would say that you need to find the .shx file to go with the .shp file and .dbf file. This is a mandatory component of any shapefile - see http://en.wikipedia.org/wiki/Shapefile for further information. That would explain the error message.


4

To be honest, your work on GIS does not seem to be complicated and is definetly possible in QGIS. What you should do is read a software documentation to check if it has what you need, as nobody else would know your needs better. Migration process does not have to be a deadline, probably you should start to play around with QGIS to check if its ok for you. ...


4

As you say yourself I think all this can be done in QGIS. If not, just use some of the saved money to pay someone to fix it :-) that is the most important part of open source. anything is possible. you might also want to look at storing your data in PostGIS. when postgis 2 is out you will have rastersupport in the database and you will be able to do a lot ...


4

It depends on how the extract was made. Sometimes the big lakes are represented through a collection of OSM ways and if one or more ways are not within the bounding polygon, they get excluded and you don't get a full lake geometry. I know I had some problems with Geofabrik's extracts for certain countries, since they used some imprecise border polygons to ...


3

If it's a .csv file you can edit the schema.ini file so that it includes a custom date format string: DateTimeFormat=YYYY-MM-DD HH:mm:s


3

I'm sure there are plenty of GIS programs out there that can do it, but I personally use Manifold GIS. You would need at least the Enterprise Edition for doing what you are after, which comes in at $395US In addressing each of your criteria using Manifold 1. Export them from Sql Server 2008. sigh It has pretty good integration with SQL SERVER ...


3

Hallo PLT format I don't know. but to aggregate the points to lines when you have it in PostGIS is easy. use ST_MakeLine CREATE TABLE tracklines as SELECT ST_MakeLine(the_geom) as the_geom FROM (SELECT * FROM trackpoints ORDER BY timestamp) a GROUP BY user; /Nicklas


3

ArcGIS uses Microsoft technology to read Office formats, Excel and Access. The default is to read the first 8 rows to determine column datatypes. Changing this registry key forces the entire table to be read first. The infered datatypes and widths are much more accurate, especially for .csv. \hklm\software\wow6432node\microsoft\jet\engines\excel ...


3

You can easily do this using QGIS python console. To get Python Console QGIS 1.8.0 Lisboa -> Plugins -> Python Console Find the attached screenshot which loads all files(vector - shape) from a specific directory Below is the code for loading vectors. shp_path="C:\\Users\\rashad\\Documents\\kerala" shps = glob.glob(os.path.join(shp_path,"*.shp")) ...


3

Just for the record, the GRASS graphical user interface offers a convenient bulk import tool: http://grasswiki.osgeo.org/wiki/Importing_data#Bulk_data_import


3

Please check How to import CSV points into QGIS (Quick tutorial) I think some settings (Like projection ,choosing delimiliter etc.) you have to make while importing CSV file in QGIS .Your points are working at my end (Please check the screenshot) Make sure that please give column name before like lat ,lon (I have not mentioned in my case) Let us know ...


3

You can open directly the asc file in QGIS (Add Raster File): After that the asc file appears gray: But if you choose pseudo-colors in the styles (properties of the layer) The result is


2

Here is a link to the QGIS forum reporting something similar in terms of band combinations. This article is referring to rasters generated in GRASS but there maybe some similarities. Another trick that has worked for me in the past. Make sure the .jpg file has an associated world file .jgw and a projection file .prj. These can be generated from exporting ...


2

It seems QGIS doesn't set the correct band in the jpg raster. You can fix this by double clicking your raster layer and changing the bands Where it says Red, Green, Blue Band they must all be the right color bands from the jpg. Change Green band drop down to Band 2 and Blue band drop down to Band 3


2

This is more of a general troubleshooting help, than a python + arcgis answer. If it hangs it's executing the python module, does it ever timeout with an error? So hopefully it's one of: waiting for network connection network port (check firewall settings) DNS If it's waiting for something to load (e.g. something in ArcGIS). But it should be possible ...


2

Please be aware that there is a bug in arcpy.mapping that will not include any metadata stored in the Map Document Properties when you upgrade a map (in fact, arcpy.mapping doesn't have access to 9.x mxd metadata at all, regardless of whether you're trying to upgrade the mxd). I was attempting to automate the addition of metadata to our legacy mxds for use ...


2

You write "I have raster in .bil format" - fine, but you also need to have the related metadata. Then you write "which I want to save in GRASS GIS with r.out.ascii." - likely you want to import the map into GRASS GIS? Then it is r.in.bin. If you want to export a raster map from GRASS to BIL, then use r.out.bin or r.out.gdal. If to ASCII format, then ...


2

I think you need to import the file to a Grass GIS dataset then after that you can export to the format you wish. Also you can easily convert "GUIless" way, it using GDAL with this command on your shell gdal_translate -of AAIGrid yourfile.bil outputfile.asc This is for Arc/Info type more options here Gdal Raster formasts Or try Saga GIS if none of the ...


2

I had the exact same problem with switzerland OSM extract on GeoFabrik and CloudMade... Get yourself an european extract and use osmosis like this : osmosis --read-pbf europe.osm.pbf --tf accept-relations natural=water --used-way --used-node --write-xml water.osm


2

You can try the opensource ogr2ogr-tool to import the shapefile: command would be something like this: ogr2ogr -f "ESRI Shapefile" mydata.shp PG:"host=myhost user=myloginname dbname=mydbname password=mypassword" "mytable" Information can be found in this cheatsheet


2

I spoke to the client about this who then passed it on to ESRI support. ESRI sent me a 10.1 geodatabase which I could open but there were some feature classes which were locked. I couldn't view the properties on them or the attribute tables. I sent it back to the client who passed it on the ESRI again. ESRI removed the ArcFM dependencies and sent me a ...



Only top voted, non community-wiki answers of a minimum length are eligible