This file contains 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
#!/bin/sh | |
############################################################################# | |
# | |
# Purpose: This script will install INSPIRE Re3gistry | |
# Author: | |
# Version 2020-08-28 | |
# | |
############################################################################# | |
# Copyright (c) 2011-2019 The Open Source Geospatial Foundation and others. | |
# Licensed under the GNU LGPL. |
This file contains 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 tomcat:7.0.109-jdk8-adoptopenjdk-hotspot | |
MAINTAINER ec-jrc-re3gistry | |
RUN mkdir /usr/local/prep/ | |
COPY ./dist/app/re3gistry2 /usr/local/prep/re3gistry2 | |
COPY ./dist/app/re3gistry2restapi /usr/local/prep/re3gistry2restapi | |
WORKDIR /usr/local/prep/ |
This file contains 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
# encoding: utf-8 | |
import gvsig | |
from org.gvsig.fmap.mapcontext import MapContextLocator | |
def main(*args): | |
raster = gvsig.currentView().getLayer("Resultado") | |
manager = MapContextLocator.getMapContextManager() | |
name = "mynewraster" |
This file contains 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
FoldersManager foldersManager = ToolsLocator.getFoldersManager(); | |
File tempFile = foldersManager.getUniqueTemporaryFile("distinctOn_process"); | |
// crear SERVER STORE | |
DataManager dataManager = DALLocator.getDataManager(); | |
JDBCServerExplorerParameters serverParameters = (JDBCServerExplorerParameters) dataManager.createServerExplorerParameters("H2Spatial"); | |
((HasAFile) serverParameters).setFile(tempFile); | |
JDBCServerExplorer serverExplorer = (JDBCServerExplorer) dataManager.openServerExplorer("H2Spatial",serverParameters); | |
This file contains 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
# encoding: utf-8 | |
import gvsig | |
from org.gvsig.app import ApplicationLocator | |
from javax.swing import JOptionPane | |
""" | |
JOptionPane -> messageType disponibles | |
- ERROR_MESSAGE | |
- INFORMATION_MESSAGE | |
- WARNING_MESSAGE |
This file contains 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
# encoding: utf-8 | |
import gvsig | |
from gvsig import geom | |
def newShape(name): | |
# Creating new layer | |
ft = gvsig.createSchema() | |
ft.append("ID", "INTEGER") | |
ft.append("GEOMETRY", "GEOMETRY") |
This file contains 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
# encoding: utf-8 | |
import gvsig | |
from gvsig import geom | |
from org.gvsig.fmap.dal import DALLocator | |
from org.gvsig.fmap.dal import DataTypes | |
from org.gvsig.app import ApplicationLocator | |
from org.gvsig.fmap.geom import Geometry |
This file contains 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
# encoding: utf-8 | |
import gvsig | |
gvsig.uselib.use_plugin("org.gvsig.labeling.app.mainplugin") | |
from gvsig import geom | |
from org.gvsig.labeling.label import GeneralLabelingFactory | |
from org.gvsig.fmap.mapcontext.rendering.legend.styling import IPlacementConstraints | |
from org.gvsig.symbology.fmap.mapcontext.rendering.legend.styling import LabelClassFactory | |
from org.gvsig.symbology import SymbologyLocator | |
from java.awt import Color |
This file contains 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
# encoding: utf-8 | |
import gvsig | |
gvsig.uselib.use_plugin("org.gvsig.labeling.app.mainplugin") | |
from gvsig import geom | |
from org.gvsig.labeling.label import GeneralLabelingFactory | |
from org.gvsig.fmap.mapcontext.rendering.legend.styling import IPlacementConstraints | |
from org.gvsig.symbology.fmap.mapcontext.rendering.legend.styling import LabelClassFactory | |
from org.gvsig.symbology import SymbologyLocator |
This file contains 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
# encoding: utf-8 | |
import gvsig | |
from gvsig import geom | |
from java.awt import Color | |
def main(*args): | |
# Creating new layer | |
ft = gvsig.createSchema() |
NewerOlder