Questions tagged [centos]

CentOS (abbreviated from Community Enterprise Operating System) is a Linux distribution that attempts to provide a free, enterprise-class, community-supported computing platform which aims to be functionally compatible with its upstream source, Red Hat Enterprise Linux (RHEL).

Filter by
Sorted by
Tagged with
0 votes
0 answers
50 views

GDAL Installation Failing on CentOs Error: config.status: error: invalid argument: `src/proj_config.h'

I need a version of GDAL > 3 so I am installing from source and having an issue, this is the error I am getting. make[2]: Leaving directory `/var/task' 12.28 cd .. && /bin/sh ./config....
Gary Lester's user avatar
2 votes
1 answer
811 views

Gdalinfo: error while loading shared libraries: libLerc.so.4: cannot open shared object file: No such file or directory

While working from terminal in conda environment: gdalinfo filename Error is: Gdalinfo: error while loading shared libraries: libLerc.so.4: cannot open shared object file: No such file or directory ...
Nikolay Yasinskiy's user avatar
1 vote
0 answers
43 views

Level of SpatiaLite support on CentoOS 9, specifically spatialite_osm_raw

Running a script on CentOS9 (from within WSL2), I get the following error FileNotFoundError: [Errno 2] No such file or directory: 'spatialite_osm_raw' on Ubuntu, I was able to install the required ...
Biaspoint's user avatar
  • 193
2 votes
1 answer
3k views

Install latest GDAL on docker image of CentOS

I am trying to install gdal latest version on a docker image of CentOS. Below is the minimal code. # Start and connect . docker run --rm -it centos:latest bash yum -y upgrade yum -y install wget yum ...
Aman J's user avatar
  • 131
1 vote
1 answer
99 views

Terminal connection error when running v.net.steiner

I am using GRASS 7.6.0 on a CentOS server. I've attempted to run the v.net.steiner function on the map layer with the following properties: Layer/table: 1/network type count min ...
Nandula's user avatar
  • 771
2 votes
0 answers
117 views

Resolution for different layers using Python GDAL

I'm extracting data from a GRIB file using GDAL in Python 3 on CentOS. The model is 40 km resolution, and is usually 151x93. When I try to extract data from band 195, I get the following error: ...
Jeanne Lane's user avatar
0 votes
1 answer
246 views

MapProxy doesn't start with EPSG:28992 while it starts and works fine with EPSG:4326

We are moving from Debian to CentOS and in that process we discover that MapProxy installation is turning out tougher in CentOS than it was in Debian. One of the dependencies 'libproj' is not ...
lakshmi's user avatar
  • 83
2 votes
1 answer
2k views

Installing Spatialite on Centos7: select mod_extension() doesn't work

I'm trying to install Spatialite on a CentOS 7 server. Sqlite (version 3.7.17 ...), works fine. Using the command yum list | grep spatial the result is the follow So I've installed Spatialite ...
Cesare's user avatar
  • 1,981
0 votes
0 answers
138 views

Clip raster with shapefile won't work without reprojection (Linux)

So as the title suggests, I am trying to clip an image (UTM) using the OSM land polygon shapefile (WGS 84). I use gdal_rasterize to do that and when I do it on a windows machine it works flawlessly ...
Nikos's user avatar
  • 380
2 votes
1 answer
129 views

Import Shapefile to GDB. OGR2OGR FGDB Driver bug(?) on CentOS 7

I used ogr2ogr to convert shapefiles to fgdb feature classes. I have like 10 of shapefiles so I imported the folder (input as a folder directory) and converted to FGDB This is the code I used ogr2ogr ...
Pil Kwon's user avatar
  • 1,010
1 vote
1 answer
4k views

Resolving postgis.control location error on CentOS 7

Yum installed PostgreSQL 10 and PostGIS 2.0 on a CentOS 7 host. Got this error while creating the postgis extension on a DB: could not open extension control file "/usr/pgsql-10/share/extension/...
user1941319's user avatar
-1 votes
1 answer
439 views

OSM - Nominatim - ERROR: Scripts must be run from build directory

i'm trying to setup my own nominatim server in a CentOS 7 VirtualMachine. I'm using this guide which is followed here for data import. This line gives me trouble when trying to import data: ./utils/...
Federico Alvarez's user avatar
10 votes
3 answers
38k views

How to install GDAL on CentOS 7.4?

I'm trying to install GDAL 2.x on my CentOS 7.4 server. I looked at what is available, and it is still at v 1.11 of GDAL Since I need GDAL v 2.x along with libKML support, looks like I'll have to ...
Devdatta Tengshe's user avatar
2 votes
1 answer
2k views

How to specify a password with shp2pgsql using CentOS?

I'm developing a python script that uses shp2sql via subprocess.call(). The string I'm using works fine on Linux Mint: shp2pgsql -s 4326 ../data/download.shp ccd_hoods_new | psql -h hostname -d ...
DPSSpatial_BoycottingGISSE's user avatar
0 votes
2 answers
2k views

apache httpd mod_tile error: "Failed to create shared memory segment on file"

This question may seem out of place, but it appears it's coming from mod_tile, so thought I'd give it a shot here.. (I also haven't managed to get answers elsewhere..) Started getting this error once ...
Julia Leder's user avatar
17 votes
3 answers
19k views

How to install GDAL 2.x on CentOS 7 without building from source?

I'm trying to install GDAL 2.X on CentOS7 without building from source because I'll need configure it in another servers and installing by source code will be a very tiring and time-consuming task. I ...
LeonanCarvalho's user avatar
3 votes
0 answers
469 views

'ST_Subdivide' function (3.5.0+ required) GEOS

Im running a query with ST_SubDivide() and receiving the error bellow. ERROR: The GEOS version this PostGIS binary was compiled against (34) doesn't support 'ST_Subdivide' function (3.5.0+ required) ...
Jorge Vidinha's user avatar
6 votes
1 answer
5k views

Unable to install Python 3.4 gdal bindings on CentOS

I can easily install GDAL and Python bindings on a Windows machine, but I can not reproduce the same thing on a CentOS machine. The problem is I want to use Python 3.4 (Python 2.7 is too old and ...
Jacobian's user avatar
  • 317
3 votes
0 answers
433 views

shp2pgsql-gui in PostgreSQL9.6 on Cent OS 7

Using Enterprise DB one click installer available at this link for Linux based systems, I have recently installed PostgreSQL 9.6 on my Cent OS 7 (x64) based machine by: su ./binary_file_name Both ...
khajlk's user avatar
  • 1,081
0 votes
2 answers
14k views

Yum install postgis on CentOS 7

I have been struggling to install PostGIS on my Redhat Linux based CentOS 7 (x64) machine and so far I am still running into problems. I used this step by step tutorial developed by Regina at ...
khajlk's user avatar
  • 1,081
2 votes
1 answer
423 views

Disappearing tiles depending on the zoom

I'm working on a CentOS 6.8 tiles server hosted in a VM and I observed some disappearing tiles depending on my zoom level in QGIS 2.16, I don't know where it comes from... Here are some pictures of my ...
Roozaay's user avatar
  • 105
3 votes
1 answer
355 views

How to add Tiles made from an OSM PostGIS Database to QGIS

Following this tutorial I was able to configure a tile server correctly using a PostGreSQL/PostGIS database, osm_tiles, renderd/mapnik and osm2pgsql in CentOS 6. The goal of this is to be able to ...
Roozaay's user avatar
  • 105
3 votes
2 answers
2k views

Link between tile server and QGIS

I just installed a tiles server in a VM following this tutorial, everything seems to work. I can see the image exemple on http://localhost/osm_tiles/0/0/0.png like it's supposed to be... Now, I would ...
Roozaay's user avatar
  • 105
1 vote
2 answers
3k views

installing GDAL on cent os7 setup.py egg_info failed

I saw this post here: Installing GDAL on CentOS? And got the EPEL 7 installed, then did a sudo yum install gdal and it did its thing without errors. However when trying to do a sudo pip install ...
Codejoy's user avatar
  • 159
1 vote
0 answers
136 views

centos 6.7 ArcGIS for Server 10.3.1: publishingtools will not start?

We're experimenting with ArcGIS for Server (10.3.1) on CentOS (6.7) and I've run into a wall; specifically this: Service failed to start System.PublishingTools.GPServer: LOCALHOST Could ...
elrobis's user avatar
  • 6,430
0 votes
1 answer
134 views

installing grass71 on centos6

I am installing grass71 on centos6 , i have the following message after running grass71 [bachir@nexus ~]$ grass71 Starting GRASS GIS... g.gisenv: /lib64/libc.so.6: version `GLIBC_2.14' not found (...
bhalitim's user avatar
  • 157
2 votes
2 answers
478 views

Geoserver and tomcat8 conflict of port numbers on cent os

I have installed geoserver binary and tomcat8 in /opt on centos 6.6. My problem is, I can run geoserver only when I stop the tomcat service. How do I resolve the issue and start both on booting the ...
Tara's user avatar
  • 71
2 votes
1 answer
259 views

GRASS plugin for QGIS 2.10 missing [duplicate]

I have installed installed QGIS 2.10 from source on CentOS 6.6 however the issue I'm facing is that I am missing the GRASS plugin form the GUI. I have checked the plugin manager, its not listed there....
user27614's user avatar
1 vote
1 answer
333 views

Geoserver layer pyramids in googledrive

is it possible to create pyramid from large rasters and add them with folders to google drive and mount google drive as local drive to geoserver ? i tried to search in internet to find about it and ...
Souheil Ibrahimi's user avatar
2 votes
1 answer
2k views

QGIS Server not working on CentOS 7

I installed QGIS Server via yumex on my CentOS 7.1 System and I have an Apache 2.4.6 Server running. My Problem is, I can't show a QGIS project in my Chrome browser. Of cause, I read many ...
zalf's user avatar
  • 21
8 votes
1 answer
4k views

Layer is not valid error in my standalone PyQGIS script/app

I have written a python class which reads properties of map layers from an XML file and creates appropriate memory layers. I have developed and tested this code with QGIS 2.8.2 on a Windows 7 machine (...
Detlev's user avatar
  • 4,558
2 votes
0 answers
374 views

Settings for GeoServer: large WMS png request failing

We recently upgraded from GeoServer 2.1 to the 2.5-SNAPSHOT, both from official OsGeo Centos packages, git revision, c7886eb21885c88d40029432c3178f88931ed820 We are getting the dreaded: Rendering ...
John Powell's user avatar
  • 13.6k
9 votes
2 answers
28k views

Installing GDAL on CentOS?

I'm having issues with installing GDAL on a fresh install of Centos7 using the ELGIS repo. Here's my commands and output: sudo rpm -Uvh http://elgis.argeo.org/repos/6/elgis-release-6-6_0.noarch.rpm ...
Alexander Rolek's user avatar
2 votes
0 answers
279 views

CentOS 6.5 - After compiling gdal.so: Unable to load dynamic library

CentOS release 6.5 (Final) Linux version 2.6.18-028stab101.1 (root@rhel5-build-x64) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46) I'm trying to Install Cartaro CMS (http://cartaro.org/). GeoServer, ...
KieBar's user avatar
  • 21
5 votes
2 answers
12k views

Installing QGIS on Centos 7?

I tried by following the instructions described here but they don't work. It looks like the repository mentioned in those instructions is actually not working: http://fedora.vitu.ch/QGIS/7/x86_64/...
Dakatine's user avatar
  • 301
1 vote
0 answers
646 views

How to build QGIS on CentOS?

I'm trying to install QGIS, without success. I install all dependencies, but the compilation still sucks. My compilation log : [root@localhost build]# cmake .. -- QGIS version: 2.4.0 Chugiak (20400) ...
nicolas's user avatar
  • 11
1 vote
1 answer
2k views

Problem installing gdal - works in build directory, not in /usr/bin

I've been trying to install gdal with the FileGDB driver. I installed it fine on a linux mint machine. I am having problems installing on a CentOS machine though. It builds fine, I can run the apps in ...
Bryan's user avatar
  • 423
1 vote
1 answer
516 views

How to install wps geoserver extension to Centos6.5

I installed OpenGeo Suit on CentOS 6.5 and the version of geoserver is 2.5-SNAPSHOT. I made a yum update and the version of OpenGeo Suit is 4.1, geoserver version remain 2.5-SNAPSHOT. I would ...
Παύλος Αποστόλου's user avatar
4 votes
3 answers
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 ...
jakebrinkmann's user avatar
0 votes
2 answers
633 views

CartoDB: Import Error: host and port must be set

I have setup cartodb in one of the server (CentOS). Everything worked fine in development environment, but when I move to production environment I couldn't import any file. Getting the below error in ...
Prabu's user avatar
  • 248
2 votes
1 answer
772 views

Geoserver configuration for large layers

I'm having problem with geoserver configuration. Currently I'm running geoserver 2.4 on CentOS and Tomcat 6 with 24 cores CPU and 48 GB RAM. I have uploaded 4 layers to PostGIS (PostgreSQL 9.3/PostGIS ...
krizas's user avatar
  • 21
1 vote
2 answers
5k views

Yum Install QGIS on CentOS 6

I was trying to install QGIS on centos 6.3 and follow the instruction here. However after running yum install qgis qgis-python qgis-grass qgis-mapserver I got below errors: ---> Package ...
Xianlin's user avatar
  • 487
0 votes
1 answer
201 views

Install plugins for qgis in centos

I followed the instructions here: How to install QGIS on Centos 6? If I run: QgsVectorLayer * vpoly = new QgsVectorLayer("Polygon", "pointbuffer", "memory"); QgsVectorDataProvider * provider = ...
qwerty9967's user avatar
81 votes
15 answers
234k views

Running Create Extension postgis gives ERROR could not open extension control file?

I have installed PostgreSQL 9.x and PostGIS 1.5/2.0 several times and have never had this problem. I just got a new CentOS 6.3 server up and running and and I have Postgres 9.3 functioning as ...
losthorse's user avatar
  • 913
3 votes
1 answer
3k views

How to debug QGIS Server WMS "Download of capabilities failed"?

Currently I am using a QGIS server with a Linux CentOS system. I am attempting the create a WMS in QGIS and upload it to my website. I have followed the instructions in the "Quantum GIS User Guide: ...
RonniePadda's user avatar
0 votes
0 answers
340 views

Compilation of QGIS master branch under CentOS 6.3

I tried to compile QGIS master branch 1.9 (qgis-Quantum-GIS-b99ff61) under CentOS for many hours now as explained here and here / here Compilation: [ 7%] Generating ui_qgsmapserverexportbase.py ...
Frank's user avatar
  • 371
1 vote
0 answers
194 views

How do I link an existing install of GDAL to FileGDB in Linux?

The distribution I use (CentOS) only has GDAL 1.8 available through elgis. I've downloaded the FileGDB API from ESRI and I'd like to be able to link it after an install. How can I do this?
Kyle Kelley's user avatar
1 vote
2 answers
2k views

PROJ4 Library error in combination with MapServer 6 and CentOS 6

I have recently compiled MapServer 6.2 on a CentOS 6.3 machine. Since I compiled it --with-proj=/usr, all the PROJ4 related stuff resides in /usr/share/proj. I've also installed proj4 with yum ...
grssnbchr's user avatar
  • 457
2 votes
1 answer
5k views

What packages are needed on CentOS to compile MapServer from source

I'm trying to configure MapServer 6.2.0 for compilation on CentOS 6.3, but always run into the same problem, no matter what configure options I supply (also the same with no options at all, just plain ...
grssnbchr's user avatar
  • 457
3 votes
2 answers
707 views

How to install pgrouting from source on CentOS 6.3?

I'm running into a problem once I try [cmake_dir]/bin/cmake . I get these errors: Boost headers were found here: /usr/include Output directory for libraries is set to sh: /usr/bin/postgres/...
Evan Siroky's user avatar