Skip to content

Commit

Permalink
Remove OGC API implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
bchapuis committed Oct 24, 2023
1 parent 2e8501a commit 6eed510
Show file tree
Hide file tree
Showing 42 changed files with 1 addition and 4,262 deletions.
1 change: 0 additions & 1 deletion .run/basemap-dev.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/basemap" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="org.apache.baremaps.server.ogcapi.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
Expand Down
1 change: 0 additions & 1 deletion .run/basemap-mbtiles.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/basemap" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="org.apache.baremaps.server.ogcapi.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
Expand Down
1 change: 0 additions & 1 deletion .run/basemap-serve.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/basemap" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="org.apache.baremaps.server.ogcapi.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
Expand Down
1 change: 0 additions & 1 deletion .run/basemap-workflow.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/basemap" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="org.apache.baremaps.server.ogcapi.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
Expand Down
1 change: 0 additions & 1 deletion .run/openstreetmap-dev.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/examples/openstreetmap" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="org.apache.baremaps.server.ogcapi.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
Expand Down
1 change: 0 additions & 1 deletion .run/openstreetmap-export.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/examples/openstreetmap" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="org.apache.baremaps.server.ogcapi.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
Expand Down
1 change: 0 additions & 1 deletion .run/openstreetmap-serve.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/examples/openstreetmap" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="org.apache.baremaps.server.ogcapi.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
Expand Down
1 change: 0 additions & 1 deletion .run/openstreetmap-workflow.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/examples/openstreetmap" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="org.apache.baremaps.server.ogcapi.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
Expand Down
1 change: 0 additions & 1 deletion .run/simplification-workflow.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/examples/simplification" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="org.apache.baremaps.server.ogcapi.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
Expand Down
1 change: 0 additions & 1 deletion .run/transformation-workflow.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/examples/transformation" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="org.apache.baremaps.server.ogcapi.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
Expand Down
1 change: 0 additions & 1 deletion .run/workflow-execute.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/examples/simplification" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="org.apache.baremaps.server.ogcapi.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
Expand Down
1 change: 0 additions & 1 deletion .run/workflow-init.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<option name="PROGRAM_PARAMETERS" value="workflow init --file sample-workflow.json" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="org.apache.baremaps.server.ogcapi.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
Expand Down
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ The source code of Baremaps is organized in modules:
- `baremaps-cli` contains the command line interface.
- `baremaps-core` contains the core features.
- `baremaps-server` contains web resources.
- `baremaps-ogcapi` contains ogcapi resources (experimental).

The naming convention used for the modules is 'baremaps-{component}'.
Here, component corresponds to the api and the main implementation of a component.
Expand Down
4 changes: 0 additions & 4 deletions baremaps-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,6 @@ limitations under the License.
<groupId>org.apache.baremaps</groupId>
<artifactId>baremaps-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.baremaps</groupId>
<artifactId>baremaps-ogcapi</artifactId>
</dependency>
<dependency>
<groupId>org.apache.baremaps</groupId>
<artifactId>baremaps-server</artifactId>
Expand Down
14 changes: 0 additions & 14 deletions baremaps-cli/src/license/override.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ com.fasterxml.jackson.core--jackson-core--2.13.0=Apache License 2.0
com.fasterxml.jackson.core--jackson-databind--2.13.0=Apache License 2.0
com.fasterxml.jackson.dataformat--jackson-dataformat-csv--2.13.0=Apache License 2.0
com.fasterxml.jackson.dataformat--jackson-dataformat-yaml--2.13.0=Apache License 2.0
com.fasterxml.jackson.datatype--jackson-datatype-jdk8--2.13.0=Apache License 2.0
com.fasterxml.jackson.datatype--jackson-datatype-jsr310--2.14.2=Apache License 2.0
com.github.ben-manes.caffeine--caffeine--3.1.1=Apache License 2.0
com.github.java-json-tools--btf--1.3=Apache License 2.0
Expand Down Expand Up @@ -99,18 +98,6 @@ io.servicetalk--servicetalk-transport-netty--0.42.28=Apache License 2.0
io.servicetalk--servicetalk-transport-netty-internal--0.42.28=Apache License 2.0
io.servicetalk--servicetalk-utils-internal--0.42.28=Apache License 2.0
io.sgr--s2-geometry-library-java--1.0.0=Apache License 2.0
io.swagger--swagger-annotations--1.6.10=Apache License 2.0
io.swagger--swagger-compat-spec-parser--1.0.65=Apache License 2.0
io.swagger--swagger-core--1.6.10=Apache License 2.0
io.swagger--swagger-models--1.6.10=Apache License 2.0
io.swagger--swagger-parser--1.0.65=Apache License 2.0
io.swagger.core.v3--swagger-annotations--2.2.9=Apache License 2.0
io.swagger.core.v3--swagger-core--2.2.9=Apache License 2.0
io.swagger.core.v3--swagger-models--2.2.9=Apache License 2.0
io.swagger.parser.v3--swagger-parser--2.1.13=Apache License 2.0
io.swagger.parser.v3--swagger-parser-core--2.1.13=Apache License 2.0
io.swagger.parser.v3--swagger-parser-v2-converter--2.1.13=Apache License 2.0
io.swagger.parser.v3--swagger-parser-v3--2.1.13=Apache License 2.0
it.unimi.dsi--fastutil--8.5.9=Apache License 2.0
jakarta.activation--jakarta.activation-api--1.2.2=Eclipse Distribution License 1.0
jakarta.annotation--jakarta.annotation-api--1.3.5=Eclipse Public License 2.0
Expand All @@ -137,7 +124,6 @@ net.ripe.ipresource--ipresource--1.49=BSD License
net.sf.jopt-simple--jopt-simple--5.0.4=MIT License
org.antlr--antlr4-runtime--4.5.1-1=BSD License
org.apache.baremaps--baremaps-core--0.7.2-SNAPSHOT=Apache License 2.0
org.apache.baremaps--baremaps-ogcapi--0.7.2-SNAPSHOT=Apache License 2.0
org.apache.baremaps--baremaps-server--0.7.2-SNAPSHOT=Apache License 2.0
org.apache.calcite--calcite-core--1.34.0=Apache License 2.0
org.apache.calcite--calcite-linq4j--1.34.0=Apache License 2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import org.apache.baremaps.cli.geocoder.Geocoder;
import org.apache.baremaps.cli.iploc.IpLoc;
import org.apache.baremaps.cli.map.Map;
import org.apache.baremaps.cli.ogcapi.OgcApi;
import org.apache.baremaps.cli.workflow.Workflow;
import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.core.config.Configurator;
Expand All @@ -39,7 +38,7 @@

@Command(name = "baremaps", description = "A toolkit for producing vector tiles.",
versionProvider = VersionProvider.class, subcommands = {Workflow.class, Database.class,
Map.class, Geocoder.class, IpLoc.class, OgcApi.class},
Map.class, Geocoder.class, IpLoc.class},
sortOptions = false)
public class Baremaps implements Callable<Integer> {

Expand Down
125 changes: 0 additions & 125 deletions baremaps-cli/src/main/java/org/apache/baremaps/cli/ogcapi/OgcApi.java

This file was deleted.

4 changes: 0 additions & 4 deletions baremaps-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ limitations under the License.
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jdk8</artifactId>
</dependency>
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@
* <br>
* Mainly used to project the `--tileset` configuration file to a version for clients.
*
* <br>
* Implementation notes: Could not be implemented with Java Record because a class was using a
* setter post instance creation (in baremaps-ogcapi).
*
* @see <a href="https://docs.mapbox.com/help/glossary/tilejson/">
* https://docs.mapbox.com/help/glossary/tilejson/</a>
* @see <a href="https://github.com/mapbox/tilejson-spec">
Expand Down
Loading

0 comments on commit 6eed510

Please sign in to comment.