I just had the same problem on Ubuntu Server 14.04.
I installed the postgis extension from the official Ubuntu repositories using apt-get install postgis.
Then, find /usr -name postgis.control didn't return any results.
The reason was extension/postgis.control wasn't installed because postgis-scripts wasn't.
$ aptitude search postgis
i libpostgis-java ...
In Ubuntu 14.04 you also need to install the postgresql-9.3-postgis-scripts package. After I ran
sudo apt-get install postgis postgresql-9.3-postgis-scripts
I was then able to successfully run
CREATE EXTENSION postgis;
in my database to initialise PostGIS.
If you can find a postgis.sql file, you can run that into your database (and the spatial_ref_sys.sql file) to manually spatialize your database. Report the missing control file to the packager, that's a big problem.
I found this answer which pointed me in the correct direction: https://gis.stackexchange.com/a/120103/442
I just had to update the GDAL version there.
These are the commands that I used to get a successful deployment of GDAL v2.x
#Install the tools that we will use
yum groupinstall "Development Tools"
yum install wget
#for Postgresql support
sudo yum ...
To avoid "layer is not valid" errors you should carefully set your QGIS prefix path. The prefix path must be set to let QGIS know where to find resources such as data providers and the reference system database. If you look at your QGIS installation, you should be able to access lib/qgis/plugins on Unix (or just plugins on Windows), relative to the prefix ...
We tend to install the Anaconda Python distribution, which also includes a fairly complete GDAL version in conda-forge. All you need to do to make it work is to add your anaconda directory to $PATH. You get the Python bindings, but also the binary executables (e.g. gdalinfo and friends).
You can also use the recipe on conda-forge to build your own version ...
In your screenshot, you should set CRS ID to 3857, and check Y origin top.
Then you can zoom in to get higher zoom levels.
BTW you can activate the original Openstreetmap basemap as a reference.
Apart from that, the tiles are not IN your postgis DB. You have stored raw OSM data in there, and the mapnik toolchain delivers tiles upon request to the ...
ELGIS requires EPEL (see https://fedoraproject.org/wiki/EPEL/FAQ#howtouse for EPEL).
However I'm not sure that you really want to use ELGIS 6 on CentOS 7. Its intended for RHEL 6 / CentOS 6 / Scientific Linux 6.
Instead, you probably just want to use EPEL for CentOS 7 for something like GDAL. EPEL 7 has GDAL 1.11.0, which isn't quite the latest, but is ...
The -P argument to psql is not used to supply a password; see the documentation at this link.
You can supply a password to psql using one of three methods:
Enter the password at a prompt
Enter the password in your ~/.pgpass file
Set the PGPASSWORD environment variable
Maybe your Mint system has the password defined using #2 or #3? If not, perhaps the ...
Trying to build from source without root access is near impossible on CentOS. I have figured out that really the only practical way to solve this issue is using a conda package (for the Anaconda python distribution) built by Jose
The solution is to run this on a fresh install of Anaconda (step three being the important one):
conda update conda
conda update ...
Judging from the last few lines of output:
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
You'd have to install the repository first
sudo rpm -Uvh http://elgis.argeo.org/repos/6/elgis-release-6-6_0.noarch.rpm
Then to install QGIS
sudo yum install qgis qgis-python qgis-grass qgis-mapserver
or try this
sudo yum --enablerepo=elgis install qgis qgis-grass qgis-python qgis-mapserver
If that still doesn't work, could you try searching for it in ...
You may also compile from source (so you do not mess rpms)
tar xvzf postgis-2.4.4.tar.gz
Install the following dependencies before compiling:
yum install geos-devel.x86_64
yum install proj-devel....
You can test whether the WMS service is configured correctly by making the GetCapabilities request directly in a browser
The format of the request in your question is correct, so if you get an error the server is not correctly configured.
You will need to look ...
If you're willing to do the compiling yourself, then you might follow my instructions here. (EDIT: pasted to avoid linkrot)
We’ll assume you already have a build environment with gcc-c++, flex, bison, PyQt4 etc. Check the QGIS wiki wiki page for details regarding dependencies. While the instructions are specific for Ubuntu systems, it’s fairly clear which ...
Another source which caused the problem could be the missing PostGIS bundle, this can be defined in install menu or in your case afterwards.
Therefor, open windows start, head to PostgreSQL an start the Application Stack Builder. Then select PostgreSQL, with that possible applications are loaded. For the PostGIS bundle you just need to install the extension ...
I used the following to successfully install QGIS with Python Plugin support on a CentOS 7 minimal install:
Install CentOS 7 minimal
Install a GUI Desktop
yum groupinstall "GNOME Desktop"
Install QGIS+Python Support and supporting packages
yum install qgis qgis-python python-devel PyQt4-webkit proj-devel geos-devel sqlite-devel gcc
Python Requirement: ...
alternative to googledrive is aws bucket!
S3 Bucket Mounting as a File System in Linux using S3fs and S3fuse
this is good,easy management,low price an fast especially for geoserver tiles(geoserver)
Probably, there is a problem from Apache to access the directory
I had the same error with myproject.qgs that was in a different directory:
The problem has been solved with insert of some directives in this configuration file:
RewriteRule ^/wms/(.+)$ /qgis/qgis_mapserv.fcgi?map=/var/...
Bit of a cr@ppy answer - but it works. Unfortunately, it doesn't really solve the route cause.
I resolved my issue by changing the build to use static libraries instead.
./configure --with-fgdb=/data/HOMEDIRS/SAI/dev/src/FileGDB_API --with-pg=/usr/bin/pg_config --prefix=/usr --without-ld-shared --disable-shared --enable-static
GDAL itself can certainly be built and used/installed without root access on most *nix type systems.
In these cases, I usually create a file structure to contain both the final GDAL build itself and all of its dependencies that the host OS doesn't already have. But, you could have them in separate folders as well as long as you have your path, LD_CONFIG, ...
Have you checked the Tomcat/ Geoserver logs for errors? I am curious if there are java memory errors that might be influencing the error you described. I have noticed CPU and memory go through the roof when caching wms layers on the fly from large tables. Your system is pretty robust but you will need to configure java to utilize the system to your needs. ...
You have installed a newer version of geos (3.4.1 vs 3.3.8) on your system, which is from the opengeo repository.
QGIS-Grass requires 3.3.8 to run.
You can downgrade this library to version 3.3.8 from the elgis repo, but that may fail, if other applications requires the newer library. In which case you have to decide if you want to keep the other ...