Skip to content

Commit 9ece092

Browse files
committed
v1.2.0 矢量瓦片工具
1 parent d361029 commit 9ece092

File tree

29 files changed

+215029
-67
lines changed

29 files changed

+215029
-67
lines changed

giscat-vector-mvt/pom.xml

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<parent>
6+
<artifactId>giscat</artifactId>
7+
<groupId>org.wowtools</groupId>
8+
<version>1.2.0-STABLE</version>
9+
</parent>
10+
<modelVersion>4.0.0</modelVersion>
11+
12+
<artifactId>giscat-vector-mvt</artifactId>
13+
<version>1.2.0-STABLE</version>
14+
<description>Mapbox vector tile (mvt) 的序列化与反序列化</description>
15+
16+
<dependencies>
17+
<dependency>
18+
<artifactId>giscat-vector-util</artifactId>
19+
<groupId>org.wowtools</groupId>
20+
</dependency>
21+
<dependency>
22+
<groupId>junit</groupId>
23+
<artifactId>junit</artifactId>
24+
<scope>test</scope>
25+
</dependency>
26+
<dependency>
27+
<groupId>org.springframework.boot</groupId>
28+
<artifactId>spring-boot-starter-web</artifactId>
29+
<scope>test</scope>
30+
</dependency>
31+
<dependency>
32+
<groupId>org.openjdk.jmh</groupId>
33+
<artifactId>jmh-core</artifactId>
34+
<scope>test</scope>
35+
</dependency>
36+
<dependency>
37+
<groupId>org.openjdk.jmh</groupId>
38+
<artifactId>jmh-generator-annprocess</artifactId>
39+
<scope>test</scope>
40+
</dependency>
41+
<dependency>
42+
<groupId>org.wowtools</groupId>
43+
<artifactId>catframe-common</artifactId>
44+
<version>1.4.2</version>
45+
<scope>test</scope>
46+
</dependency>
47+
</dependencies>
48+
49+
</project>
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/*****************************************************************
2+
* This document is adapted from https://github.com/ElectronicChartCentre/java-vector-tile
3+
* Licensed to the Apache Software Foundation (ASF) under one
4+
* or more contributor license agreements. See the NOTICE file
5+
* distributed with this work for additional information
6+
* regarding copyright ownership. The ASF licenses this file
7+
* to you under the Apache License, Version 2.0 (the
8+
* "License"); you may not use this file except in compliance
9+
* with the License. You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing,
14+
* software distributed under the License is distributed on an
15+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
* KIND, either express or implied. See the License for the
17+
* specific language governing permissions and limitations
18+
* under the License.
19+
****************************************************************/
20+
package org.wowtools.giscat.vector.mvt;
21+
22+
final class Command {
23+
24+
/**
25+
* MoveTo: 1. (2 parameters follow)
26+
*/
27+
static final int MoveTo = 1;
28+
29+
/**
30+
* LineTo: 2. (2 parameters follow)
31+
*/
32+
static final int LineTo = 2;
33+
34+
/**
35+
* ClosePath: 7. (no parameters follow)
36+
*/
37+
static final int ClosePath = 7;
38+
39+
private Command() {
40+
41+
}
42+
43+
}

0 commit comments

Comments
 (0)