-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
web ui postgis layer detail page with vector features geojson downloa…
…d, vector feature properties csv download; postgis layer geojson streaming writer, skip null fields; postgis layer csv writer for feature properties; separate web request logging; update java dependencies
- Loading branch information
1 parent
4def7d5
commit 55dad5e
Showing
19 changed files
with
748 additions
and
188 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
package postgis; | ||
|
||
import postgis.PostgisLayer.PostgisColumn; | ||
import util.collections.array.ReadonlyArray; | ||
|
||
public interface FeatureConsumer { | ||
void acceptFeatureStart(boolean isFirstFeature); | ||
void acceptFeatureGeometry(String geometry); | ||
void acceptFeatureFieldsStart(); | ||
void acceptFeatureField(PostgisColumn field, String fieldValue, boolean isFirstFeatureField); | ||
void acceptFeatureFieldNull(PostgisColumn field, boolean isFirstFeatureField); | ||
void acceptFeatureFieldInt32(PostgisColumn field, int fieldValue, boolean isFirstFeatureField); | ||
void acceptFeatureFieldsEnd(); | ||
void acceptFeatureEnd(); | ||
public interface FeatureConsumer extends FieldsConsumer { | ||
|
||
// FieldsConsumer methods | ||
|
||
void acceptFields(ReadonlyArray<PostgisColumn> fields); | ||
|
||
void acceptFeatureStart(int i); | ||
|
||
void acceptGeometry(String geometry); | ||
|
||
// FieldsConsumer methods | ||
|
||
void acceptFeatureEnd(int i); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package postgis; | ||
|
||
import postgis.PostgisLayer.PostgisColumn; | ||
import util.collections.array.ReadonlyArray; | ||
|
||
public interface FieldsConsumer { | ||
|
||
void acceptStart(); | ||
|
||
void acceptFields(ReadonlyArray<PostgisColumn> fields); | ||
|
||
void acceptCellsStart(int i); | ||
|
||
void acceptCell(int i, String fieldValue); | ||
void acceptCellNull(int i); | ||
void acceptCellInt16(int i, short fieldValue); | ||
void acceptCellInt32(int i, int fieldValue); | ||
void acceptCellFloat64(int i, double fieldValue); | ||
|
||
void acceptCellsEnd(int i); | ||
|
||
void acceptEnd(); | ||
} |
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
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
Oops, something went wrong.