Questions tagged [linux]

Linux is a Unix-like computer operating system assembled under the model of free and open source software development and distribution.

Filter by
Sorted by
Tagged with
29
votes
4answers
38k views

Installing GDAL on Linux Ubuntu Server?

apt-get install python-gdal installs version 1.6.0 and this is already installed. I would like to install the 1.9.0 version. Do I have to de-install 1.6.0 first and then compile manually or is there ...
21
votes
3answers
37k views

ArcGIS for Desktop on Linux?

Will ArcGIS 10 work properly on Linux using wine or crossweaver?
14
votes
3answers
8k views

Running ArcGIS Desktop in virtual machine?

I'm trying to run ArcGIS Desktop 10.0 in a Windows 7 (32bit) virtual machine. I don't have any native Microsoft Windows available. I'm using VirtualBox from Oracle for virtualization in a native linux ...
12
votes
5answers
606 views

Smallest GIS library for embedded devices?

I need to use very simple geometry operations (read SHP or other standard format and simple searches) within an embedded device running a simple linux based os. What is the smallest and simplest API ...
12
votes
2answers
301 views

Aggregate Lines Based on Distance between Segments

I have a VectorTile basemap that I am optimizing, (working on reducing the size of individual tiles), the major chunk of tile size is road data (geometry and attributes). I am working on simplifying ...
11
votes
9answers
25k views

Open source tool to convert a DEM to a 3D model

I would like to convert a DEM (Digitial Elevation Model) file (e.g. from SRTM) into a 3D model that I can then edit with regular 3D modeling tools (e.g. Meshlab/Blender/etc.). However I'm using Ubuntu ...
11
votes
2answers
6k views

Cutting up a shapefile into smaller parts

I've downloaded the 450MB coastline shapefile from OpenStreetMap, I want to split it up in smaller parts. Is there a way to generate a shapefile with only the polygons contained in a smaller area? ...
11
votes
2answers
6k views

How to install GDAL and QGIS on a Raspberry Pi?

I would like to run GDAL QGIS on Raspberry Pi to act as an affordable GIS processing engine. The plan is to buy about 50 Pis. Does anybody have any links or information on installing and running GDAL ...
11
votes
7answers
9k views

Linux alternatives to visualize and analyze LiDAR datasets?

For a long time I have been using softwares based in Windows to visualize and analyze LiDAR data sets for forest application. Recently, I have started to move all my work to Ubuntu platform, but I'm ...
11
votes
1answer
989 views

Batch load multiple shapefiles to Postgis

According to the shp2pgsql help, the options drop, append, create and prepare are mutually exclusive. So, if I want to create a table from a shape and then append multiple other shapefiles, I do ...
10
votes
4answers
6k views

What is the OSGeo4W-equivalent for Linux?

OSGeo4W is a windows based stack of GeoFOSS which is based upon cygwin. I know there is a package listing describing what is inside the OSGeo4W binary package and I could fetch and install every ...
9
votes
2answers
2k views

Building FGDB support for GDAL 1.10 on Ubuntu

Because data.gc.ca is now distributing some of its data in FGDB format (example: Plant Hardiness Zones), I would like to be able to use it with gdal/QGIS. The compile/install is not going as planned, ...
9
votes
3answers
5k views

Opening File Geodatabase in QGIS for Ubuntu?

So far I have found instructions on stack exchange but they are for windows. And so far the information I have found is for windows. I currently have Ubuntu 13.04 Raring tail. I am using qgis 1.8. I ...
8
votes
3answers
2k views

Generating TIN from DEM using MacOSX/Unix tools?

I'd like to generate a 3d terrain model moving from a DEM dataset (currently in shp and GeoTIFF format). As far as I understand it, the first step of the better path would be generating a TIN, but I ...
8
votes
2answers
4k views

How to correctly install QGIS with plugins and GRASS-integration from source?

I'm running a Sabayon GNU/Linux (based on Gentoo) at my home desktop system and I want to install Quantum-GIS. I'm currently using the qgis-1.7.0-package from the repositories. But this is somehow ...
8
votes
1answer
648 views

Calling PyQGIS functions from external editors (Linux)

Is it possible to integrate external Python editors (such as KDevelop) with QGIS, so that it would be possible to run functions in qgis.core, qgis.utils etc. outside of the QGIS Python Console? ...
7
votes
2answers
6k views

How to generate an image from OSM on command line?

Is there a GNU/Linux command line tool that allows to generate an image file from OSM, preferably as an SVG?
7
votes
2answers
7k views

Union multiple shapefiles with overlapping shapes

I have several shapefiles that overlap and I would like to union their geometries to get rid of those overlaps. I know how to do this with OGR and Python for single geometries. from osgeo import ogr ...
7
votes
1answer
2k views

Is it possible to change default encoding for QGIS?

I often transfer layers from Windows machine to Linux and vice versa and it causes me problems (incorrectly displayed labels and same with text in attribute table) when I use drag and drop to put ...
7
votes
1answer
852 views

ArcGIS 10 Linux experience

We have ArcGIS 10 installed on a nice clean Linux box. We have developed scripts to run on the Windows desktop development machines, and modified them to run on Linux. Now, if we run the scripts on ...
7
votes
0answers
621 views

How do I install Orfeo toolbox and Qgis 1.9? [closed]

I'm having a lot of trouble getting Orfeo toolbox and Qgis 2.0 working. I followed the qgis wiki instructios, added the ppa, installed qgis 1.9 (it's beautiful, great work!). But when i tried to ...
6
votes
3answers
2k views

Store result from gdallocationinfo as variable in python?

I'm trying to find the cell value at various locations in a set of rasters so I can count the number of real values (aka not 'NoData') that occur at all the locations within each raster. The various ...
6
votes
2answers
5k views

gpspipe returns correct timestamp, but wrong date (21 dec 1995)

I'm having this strange issue where my gps pipe is returning the correct location and time but the wrong date (including year). For reference, at the time of writing it is 06 aug 2015, 09:27 UTC). ...
6
votes
4answers
15k views

What software for direct editing of a DBF file?

I am currently processing GPS log data from my holiday and need to add information to the points. I remember I used OpenOffice and later LibreOffice to directly edit the files but currently I am ...
6
votes
3answers
1k views

Geoserver : add extra style (SLD) with Curl

In my geoserver I have a layer with a default style (SLD) and i want to add another style to this layer with Curl. I tried command below with <style></style> instead of <defaultStyle&...
6
votes
3answers
5k views

How to import OSM data into Postgres DB using osm2pgsql in Linux?

I'm using the following command to import an osm file into a Postgres DB using Linux: osm2pgsql -v -a -U user -S default.style -d routing myfile.osm I got the following error: Setting up table: ...
6
votes
2answers
5k views

How to install Mapserver in nginx?

I was istalled Mapserver: sudo apt-get install libgd2-xpm-dev sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable sudo apt-get update sudo apt-get install cgi-mapserver mapserver-bin and istall ...
6
votes
1answer
604 views

Arcpy hanging on Linux

I am having issues getting arcpy to run correctly on Linux Red Hat. I solved some earlier problems which appeared to be related to permissions on the init_server file. Now that si resolved, when I '...
5
votes
3answers
866 views

How to install GRASS on Linux Mint?

I'm trying to figure out an error in GRASS network analysis for several days now. I started to suspect that it has something to do with my OS, namely Windows 7. Hence I installed Linux-Mint 14 (Nadia) ...
5
votes
5answers
5k views

ArcGIS Server 10 on Ubuntu or CentOS?

I know Solaris is on the way out with 10.1 I also know that v10 is only supported on 32bit flavours of RedHat & SUSE. What I do want to know, has anyone had any luck installing it on either ...
5
votes
2answers
6k views

Using arcpy from the command line on ArcGIS Linux Server 10.1

We installed ArcGIS SERVER (not Desktop!) 10.1 on a RHEL (Red Hat) machine. ArcGIS Sever is supported for Linux. However, it appears they don't make it easy to script in python, from the command ...
5
votes
2answers
10k views

Installing python GDAL with pip in local (user) space on RHEL6 server: failure due to missing headers

There are similar themed questions for other platforms, but the solutions out there do not work for me. (e.g. https://stackoverflow.com/questions/11336153/python-gdal-package-missing-header-file-when-...
5
votes
2answers
2k views

How to install PostGIS on Linux Mint 14?

I am trying to install PostGIS on Linux Mint 14 KDE. First thing I tried was to install PostgreSQL using "sudo apt-get install postgresql". I was successful doing that. I then did "sudo apt-get ...
5
votes
1answer
855 views

Is it possible to set the permissions Geoserver creates new directories with?

I'm trying to automate the process of pushing from a server to Github as a way of tracking Geoserver changes, and pulling from Github as a way of deploying new work. The push side works fine, but if I ...
5
votes
2answers
2k views

Converting Tab to Shp Using OGR2OGR with Python on linux

First I downloaded http://svn.osgeo.org/gdal/trunk/gdal/swig/python/samples/ogr2ogr.py and I am importing this. How can I get ogr2ogr to run in my script? Nothing seems to be working and I'm not ...
5
votes
3answers
631 views

Linux Tool to visualize CityGML file

I am looking for a linux program that allows me to visualize CityGML models (3D). I have tried a whole bunch so far (most of them via wine but also native ones) but I couldn't get a single one of them ...
5
votes
0answers
3k views

gdal/python: tif not recognised a supported file format

I'm trying to open a tif using gdal, read it as a array, do some math, and write it back as a tif. However, when I try to gdal.Open(tif) in python, I get the error: RuntimeError: /att/gpfsfs/...
5
votes
0answers
1k views

QGIS cannot open output layers

I have problem with QGIS 2.0.1. Everytime I run tool from SAGA or GRASS, I get exactly the same error, for example: Oooops! The following output layers could not be open Channel Network: /tmp/...
4
votes
2answers
1k views

Problem when converting sosi to shapefile with ogr2ogr on Linux

I am trying to convert a SOSI file (Norwegian geodata format) to a shapefile. I have set up gdal, but apparantly there is a lot of things that I dont have support for. When I do a ./configure, this is ...
4
votes
3answers
1k views

Loading Esri ArcGrid export file (e00) in R?

I am trying to load an ESRI ArcGrid export file into R. The file is located at- ftp://ftp.epa.gov/castnet/tdep/grids/n_tw/n_tw-2013.zip. The documentation for this file states, "Gridded data of the ...
4
votes
3answers
2k views

Fixing ogr2ogr without spatialite support?

I am trying to use ogr2ogr to convert OSM data from pbf to spatialite. I used to do so with the following command: ogr2ogr -f "SQLite" -dsco SPATIALITE=YES png-full-last.db planet_137.084,-15....
4
votes
2answers
588 views

Is there an alternative for JTS TestBuilder on Linux?

JTS Testbuilder, an application for testing JTS functions, is available on Windows and I use it quite regularly. Are there anything like this on Linux? Does GEOS have anything similar to this on linux?...
4
votes
1answer
338 views

Is there any existing postgis package for Ubuntu 16.04 (xenial) compiled against GDAL 2.0+?

I stumbled upon this error while using QGIS (2.18.13) to display a PostGIS raster and read in comment #14 on the same issue, that it is working when using a newer GDAL version. I have GDAL 1.11.3 ...
4
votes
3answers
2k views

Installing gdal in CentOS without Root?

I have been struggling to get python setup to do some image processing, so I really need the http://www.gdal.org/ GDAL libraries installed on CentOS 6.5. I want to install the package in a local ...
4
votes
5answers
5k views

Problems in installation of PostGIS

I will be installing PostGIS for my project using PostgreSQl (OSM) in Ubuntu 9.04. I had all the requirements prior to the installation (PostgreSQL, Proj4, GEOS). When I unzip the PostGIS tar, then './...
4
votes
1answer
443 views

Converting Python script for QGIS?

I am still a novice in python, but I have the long term goal to create a plugin one day. The first step to this plugin is a test with QGIS python scripts to convert an Access mdb into sqlite db and ...
4
votes
2answers
3k views

What is the best way to migrate an SDE Database

We have a prod database, with an SDE schema. We want to install a new SDE instance 9.3.1 and link it to a copy of the prod database. ArcSDE 9.3.1 on Linux SLES 4 Now, what is the best way to do ...
4
votes
3answers
3k views

Error when installing QGIS 2.x and 3.0 on Ubuntu 16.04 and Ubuntu 17.10

I am attempting to install QGIS 3.0 on Ubuntu 16.04 and am failing. Outlined below are the steps I've taken to install and troubleshoot this failure. If anyone has any tips on how to troubleshoot this ...
4
votes
1answer
1k views

Connection property set error on registering PostgreSQL geodatabase with ArcGIS for Server?

We're in the middle of a migrating process. We've imported a geodatabase on a new Linux machine and we're trying to publish some map services to this new ArcGIS Server (that resides on the same ...
4
votes
1answer
614 views

install opengeo on Arch Linux

I am trying to install the opengeo suite (community) for a project I have. The thing is that my Linux distribution is Arch Linux, for which the package manager is pacman and not apt-get as it is the ...