- mapplotlib
- numpy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteRule "^/ogc/(.*)$" "-" [E=MS_MAPFILE:/var/www/$1.map] | |
<Location "/ogc/"> | |
SetHandler fcgid-script | |
Options +ExecCGI | |
FcgidWrapper /usr/lib/cgi-bin/mapserv virtual | |
Require all granted | |
</Location> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sqlalchemy import Column, Integer, String, ForeignKey, MetaData, create_engine | |
from sqlalchemy.orm import sessionmaker, relationship, scoped_session | |
from sqlalchemy.ext.declarative import declarative_base | |
from marshmallow import fields | |
from marshmallow_sqlalchemy import ModelSchema | |
engine = create_engine("postgresql://elemoine@localhost/gis", echo=True) | |
metadata = MetaData(engine) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
DocumentRoot /home/www/qgis-server | |
ServerName 172.16.0.162 | |
ErrorLog ${APACHE_LOG_DIR}/qgis-server-error.log | |
LogFormat "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\"" custom | |
CustomLog ${APACHE_LOG_DIR}/qgis-server-access.log custom | |
FcgidMaxRequestsPerProcess 1000 | |
FcgidInitialEnv QGIS_SERVER_LOG_FILE /tmp/qgis-000.log | |
FcgidInitialEnv QGIS_SERVER_LOG_LEVEL 2 |
OlderNewer