All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.targomo.client.Constants Maven / Gradle / Ivy

The newest version!
package com.targomo.client;

import javax.ws.rs.core.Response;

public class Constants {

    public static final float NO_VALUE_ENTRY_FLOAT_TROVE_MAPS = -Float.MAX_VALUE;
    public static final int NO_VALUE_ENTRY_INT_TROVE_MAPS = Integer.MIN_VALUE;

    public static final String POLYGON_VALUES                                           = "values";
    public static final String POLYGON_INTERSECTION_MODE                                = "intersectionMode";
    public static final String MAX_ROUTING_TIME                                         = "maxRoutingTime";
    public static final String MAX_ROUTING_LENGTH                                       = "maxRoutingLength";
    public static final String SERIALIZER                                               = "serializer";
    public static final String MAX_SNAP_DISTANCE                                        = "maxSnapDistance";
    public static final String POLYGON_SERIALIZER                                       = "polygonSerializer";
    public static final String POINT_REDUCTION                                          = "pointReduction";
    public static final String MIN_POLYGON_HOLE_SIZE                                    = "minPolygonHoleSize";
    public static final String POLYGON                                                  = "polygon";
    public static final String ID                                                       = "id";
    public static final String LATITUDE                                                 = "lat";
    public static final String LONGITUDE                                                = "lng";
    public static final String TRANSPORT_MODE                                           = "tm";
    public static final String PROPERTIES                                               = "properties";
    public static final String SOURCES                                                  = "sources";
    public static final String SOURCE_GEOMETRIES                                        = "sourceGeometries";
    public static final String SOURCE_ADDRESSES                                         = "sourceAddresses";
    public static final String H3_ADDRESS                                               = "h3Address";
    public static final String TARGETS                                                  = "targets";
    public static final String TARGET_GEOHASHES                                         = "targetGeohashes";
    public static final String TARGET_ADDRESSES                                         = "targetAddresses";
    public static final String ENABLE_ELEVATION                                         = "elevation";
    public static final String JSON_POLYGON_SERIALIZER                                  = "json";
    public static final String GEO_JSON_POLYGON_SERIALIZER                              = "geojson";
    public static final String TRAVEL_TYPE_WALK                                         = "walk";
    public static final String TRAVEL_TYPE_BIKE                                         = "bike";
    public static final String TRAVEL_TYPE_CAR                                          = "car";
    public static final String TRAVEL_TYPE_TRANSIT                                      = "transit";
    public static final String TRAVEL_TYPE_WALKTRANSIT                                  = "walktransit";
    public static final String TRAVEL_TYPE_BIKETRANSIT                                  = "biketransit";
    public static final String TRAVEL_TYPE_FLY                                          = "fly";
    public static final String TRAVEL_TYPE_MULTIMODAL                                   = "multiModal";

    public static final String TRAVEL_MODE_MULTIMODAL_TRAVELTYPES                       = "travelTypes";
    public static final String TRAVEL_MODE_SPEED                                        = "speed";
    public static final String TRAVEL_MODE_UPHILL                                       = "uphill";
    public static final String TRAVEL_MODE_DOWNHILL                                     = "downhill";
    public static final String TRAVEL_MODE_WALK_SPEED                                   = "walkSpeed";
    public static final String TRAVEL_MODE_BIKE_SPEED                                   = "bikeSpeed";
    public static final String PATH_SERIALIZER                                          = "pathSerializer";
    public static final String TRAVEL_TIME_PATH_SERIALIZER                              = "travelTime";
    public static final String COMPACT_PATH_SERIALIZER                                  = "compact";
    public static final String GEO_JSON_PATH_SERIALIZER                                 = "geojson";
    public static final String TRANSPORT_MODE_TRANSIT_RECOMMENDATIONS                   = "recommendations";
    public static final String TRANSPORT_MODE_TRANSIT_FRAME                             = "frame";
    public static final String TRANSPORT_MODE_TRANSIT_FRAME_TIME                        = "time";
    public static final String TRANSPORT_MODE_TRANSIT_FRAME_DURATION                    = "duration";
    public static final String TRANSPORT_MODE_TRANSIT_FRAME_ARRIVAL_OR_DEPARTURE_DURATION = "arrivalOrDepartureDuration";
    public static final String TRANSPORT_MODE_TRANSIT_EARLIEST_ARRIVAL                  = "earliestArrival";
    public static final String TRANSPORT_MODE_TRANSIT_FRAME_DATE                        = "date";
    public static final String TRANSPORT_MODE_CAR_RUSH_HOUR                             = "rushHour";
    public static final String TRANSPORT_MODE_CAR_DATE                                  = "date";
    public static final String TRANSPORT_MODE_CAR_TIME                                  = "time";
    public static final String TRANSPORT_MODE_TRANSIT_MAX_TRANSFERS                     = "maxTransfers";
    public static final String TRANSPORT_MODE_TRANSIT_MAX_WALKING_TIME_FROM_SOURCE      = "maxWalkingTimeFromSource";
    public static final String TRANSPORT_MODE_TRANSIT_MAX_WALKING_TIME_TO_TARGET        = "maxWalkingTimeToTarget";
    public static final String TRANSPORT_MODE_TRANSIT_AVOID_TRANSIT_ROUTE_TYPES         = "avoidTransitRouteTypes";
    public static final String ALLOW_PRIVATE_AND_SERVICE_ROADS                          = "allowPrivateAndServiceRoads";
    public static final String TRANSPORT_MODE_TRAFFIC_JUNCTION_PENALTY                  = "trafficJunctionPenalty";
    public static final String TRANSPORT_MODE_TRAFFIC_SIGNAL_PENALTY                    = "trafficSignalPenalty";
    public static final String TRANSPORT_MODE_TRAFFIC_LEFT_TURN_PENALTY                 = "trafficLeftTurnPenalty";
    public static final String TRANSPORT_MODE_TRAFFIC_RIGHT_TURN_PENALTY                = "trafficRightTurnPenalty";
    public static final String BUFFER                                                   = "buffer";
    public static final String SIMPLIFY                                                 = "simplify";
    public static final String QUADRANT_SEGMENTS                                        = "quadrantSegments";
    public static final String REVERSE                                                  = "reverse";
    public static final String Y                                                        = "y";
    public static final String X                                                        = "x";
    public static final String CALLBACK                                                 = "callback";
    public static final String SRID                                                     = "srid";
    public static final String POLYGON_ORIENTATION_RULE                                 = "polygonOrientationRule";
    public static final String DECIMAL_PRECISION                                        = "decimalPrecision";
    public static final String FORCE_RECALCULATE                                        = "forceRecalculate";
    public static final String CACHE_RESULT                                             = "cacheResult";
    public static final String CLIP_GEOMETRY                                            = "clipGeometry";
    public static final String EXCLUSION_GEOMETRY                                       = "exclusionGeometry";
    public static final String INCLUDE_SNAP_DISTANCE                                    = "includeSnapDistance";

    public static final String INCLUDE_SNAP_DISTANCE_FOR_TARGETS                        = "includeSnapDistanceForTargets";
    public static final String USE_AREA_SNAPPING                                        = "useAreaSnapping";
    public static final String SNAP_RADIUS                                              = "snapRadius";
    public static final String EXCLUDE_EDGE_CLASSES_FROM_SNAPPING                       = "excludeEdgeClassesFromSnapping";

    public static final String MULTIGRAPH                                               = "multigraph";
    public static final String MULTIGRAPH_EDGE_CLASSES                                  = "edgeClasses";
    public static final String MULTIGRAPH_DOMAIN                                        = "domain";
    public static final String MULTIGRAPH_DOMAIN_TYPE                                   = "type";
    public static final String MULTIGRAPH_DOMAIN_CLIP_GEOMETRY                          = "clipGeometry";
    public static final String KEY_MULTIGRAPH_DOMAIN_TYPE_EDGE                          = "edge";
    public static final String KEY_MULTIGRAPH_DOMAIN_TYPE_NODE                          = "node";
    public static final String KEY_MULTIGRAPH_DOMAIN_TYPE_STATISTIC_GEOMETRY            = "statistic_geometry";
    public static final String MULTIGRAPH_DOMAIN_EDGE_AGGREGATION_TYPE                  = "edgeAggregationType";
    public static final String KEY_MULTIGRAPH_DOMAIN_EDGE_AGGREGATION_TYPE_MINIMUM      = "min";
    public static final String KEY_MULTIGRAPH_DOMAIN_EDGE_AGGREGATION_TYPE_MAXIMUM      = "max";
    public static final String KEY_MULTIGRAPH_DOMAIN_EDGE_AGGREGATION_TYPE_MEAN         = "mean";
    public static final String MULTIGRAPH_LAYER                                         = "layer";
    public static final String MULTIGRAPH_LAYER_TYPE                                    = "type";
    public static final String KEY_MULTIGRAPH_LAYER_TYPE_TILE                           = "tile";
    public static final String KEY_MULTIGRAPH_LAYER_TYPE_HEXAGON                        = "hexagon";
    public static final String KEY_MULTIGRAPH_LAYER_TYPE_H3HEXAGON                      = "h3hexagon";
    public static final String KEY_MULTIGRAPH_LAYER_TYPE_IDENTITY                       = "identity";
    public static final String KEY_MULTIGRAPH_LAYER_TYPE_CUSTOM_GEOMETRIES              = "custom_geometries";
    public static final String MULTIGRAPH_LAYER_GEOMETRY_DETAIL_PER_TILE                = "geometryDetailPerTile";
    public static final String MULTIGRAPH_LAYER_MIN_GEOMETRY_DETAIL_LEVEL               = "minGeometryDetailLevel";
    public static final String MULTIGRAPH_LAYER_MAX_GEOMETRY_DETAIL_LEVEL               = "maxGeometryDetailLevel";
    public static final String MULTIGRAPH_LAYER_GEOMETRY_DETAIL_LEVEL                   = "geometryDetailLevel";
    public static final String MULTIGRAPH_LAYER_CUSTOM_GEOMETRY_MERGE_AGGREGATION       = "customGeometryMergeAggregation";
    public static final String KEY_MULTIGRAPH_LAYER_CUSTOM_GEOMETRY_MERGE_AGGREGATION_MAX  = "max";
    public static final String KEY_MULTIGRAPH_LAYER_CUSTOM_GEOMETRY_MERGE_AGGREGATION_MIN  = "min";
    public static final String KEY_MULTIGRAPH_LAYER_CUSTOM_GEOMETRY_MERGE_AGGREGATION_MEAN = "mean";
    public static final String KEY_MULTIGRAPH_LAYER_CUSTOM_GEOMETRY_MERGE_AGGREGATION_SUM  = "sum";
    public static final String MULTIGRAPH_TILE                                          = "tile";
    public static final String MULTIGRAPH_TILE_ZOOM                                     = "zoom";
    public static final String MULTIGRAPH_TILE_X                                        = "x";
    public static final String MULTIGRAPH_TILE_Y                                        = "y";
    public static final String MULTIGRAPH_SERIALIZATION                                 = "serialization";
    public static final String MULTIGRAPH_SERIALIZATION_DECIMAL_PRECISION               = "decimalPrecision";
    public static final String MULTIGRAPH_SERIALIZATION_MAX_GEOMETRY_COUNT              = "maxGeometryCount";
    public static final String MULTIGRAPH_SERIALIZATION_FORMAT                          = "format";
    public static final String KEY_MULTIGRAPH_SERIALIZATION_FORMAT_JSON                 = "json";
    public static final String KEY_MULTIGRAPH_SERIALIZATION_FORMAT_GEOJSON              = "geojson";
    public static final String KEY_MULTIGRAPH_SERIALIZATION_FORMAT_TILEHASH             = "tilehash";
    public static final String KEY_MULTIGRAPH_SERIALIZATION_FORMAT_MAPBOX_VECTOR_TILES  = "mvt";
    public static final String KEY_MULTIGRAPH_SERIALIZATION_H3_ID_FORMAT_STRING         = "string";
    public static final String KEY_MULTIGRAPH_SERIALIZATION_H3_ID_FORMAT_NUMERIC        = "numeric";
    public static final String MULTIGRAPH_SERIALIZATION_H3_MAX_BUFFER                   = "h3MaxBuffer";
    public static final String MULTIGRAPH_SERIALIZATION_H3_BUFFER_SPEED                 = "h3BufferSpeed";
    public static final String MULTIGRAPH_SERIALIZATION_H3_BUFFER_FIXED_VALUE           = "h3BufferFixedValue";
    public static final String MULTIGRAPH_SERIALIZATION_H3_ID_FORMAT                    = "h3IdFormat";
    public static final String MULTIGRAPH_AGGREGATION                                   = "aggregation";
    public static final String MULTIGRAPH_AGGREGATION_TYPE                              = "type";
    public static final String KEY_MULTIGRAPH_AGGREGATION_TYPE_NONE                     = "none";
    public static final String KEY_MULTIGRAPH_AGGREGATION_TYPE_ONE                      = "one";
    public static final String KEY_MULTIGRAPH_AGGREGATION_TYPE_MINIMUM                  = "min";
    public static final String KEY_MULTIGRAPH_AGGREGATION_TYPE_MAXIMUM                  = "max";
    public static final String KEY_MULTIGRAPH_AGGREGATION_TYPE_SUM                      = "sum";
    public static final String KEY_MULTIGRAPH_AGGREGATION_TYPE_MEAN                     = "mean";
    public static final String KEY_MULTIGRAPH_AGGREGATION_TYPE_MEDIAN                   = "median";
    public static final String KEY_MULTIGRAPH_AGGREGATION_TYPE_NEAREST                  = "nearest";
    public static final String KEY_MULTIGRAPH_AGGREGATION_TYPE_NEAREST_ROUTING_UNION    = "nearest_routing_union";
    public static final String KEY_MULTIGRAPH_AGGREGATION_TYPE_COUNT                    = "count";
    public static final String KEY_MULTIGRAPH_AGGREGATION_TYPE_ROUTING_UNION            = "routing_union";
    public static final String KEY_MULTIGRAPH_AGGREGATION_TYPE_GRAVITATION_HUFF         = "gravitation_huff";
    public static final String KEY_MULTIGRAPH_AGGREGATION_TYPE_GRAVITATION_HUFF_OPTIMIZED = "gravitation_huff_optimized";
    public static final String KEY_MULTIGRAPH_AGGREGATION_TYPE_GRAVITATION_HUFF_OPTIMIZED_HEATMAP = "gravitation_huff_optimized_heatmap";
    public static final String KEY_MULTIGRAPH_AGGREGATION_TYPE_LOGIT                    = "logit";
    public static final String KEY_MULTIGRAPH_AGGREGATION_TYPE_LOGIT_OPTIMIZED          = "logit_optimized";
    public static final String KEY_MULTIGRAPH_AGGREGATION_TYPE_LOGIT_OPTIMIZED_HEATMAP  = "logit_optimized_heatmap";
    public static final String KEY_MULTIGRAPH_AGGREGATION_TYPE_MATH                     = "math";
    public static final String MULTIGRAPH_AGGREGATION_IGNORE_OUTLIERS                   = "ignoreOutliers";
    public static final String MULTIGRAPH_AGGREGATION_OUTLIER_PENALTY                   = "outlierPenalty";
    public static final String MULTIGRAPH_AGGREGATION_MIN_SOURCES_RATIO                 = "minSourcesRatio";
    public static final String MULTIGRAPH_AGGREGATION_MIN_SOURCES_COUNT                 = "minSourcesCount";
    public static final String MULTIGRAPH_AGGREGATION_SOURCE_VALUES_LOWER_BOUND         = "sourceValuesLowerBound";
    public static final String MULTIGRAPH_AGGREGATION_SOURCE_VALUES_UPPER_BOUND         = "sourceValuesUpperBound";
    public static final String MULTIGRAPH_AGGREGATION_SOURCE_VALUES_MODIFIER            = "sourceValuesModifier";
    public static final String MULTIGRAPH_AGGREGATION_MIN_RESULT_VALUE_RATIO            = "minResultValueRatio";
    public static final String MULTIGRAPH_AGGREGATION_MIN_RESULT_VALUE                  = "minResultValue";
    public static final String MULTIGRAPH_AGGREGATION_MAX_RESULT_VALUE_RATIO            = "maxResultValueRatio";
    public static final String MULTIGRAPH_AGGREGATION_MAX_RESULT_VALUE                  = "maxResultValue";
    public static final String MULTIGRAPH_AGGREGATION_POST_AGGREGATION_FACTOR           = "postAggregationFactor";
    public static final String MULTIGRAPH_AGGREGATION_GRAVITATION_EXPONENT              = "gravitationExponent";
    public static final String MULTIGRAPH_AGGREGATION_PROBABILITY_DECAY                 = "probabilityDecay";
    public static final String MULTIGRAPH_AGGREGATION_LOGIT_BETA_ATTRACTION_STRENGTH    = "logitBetaAttractionStrength";
    public static final String MULTIGRAPH_AGGREGATION_LOGIT_BETA_TRAVEL_TIME            = "logitBetaTravelTime";
    public static final String MULTIGRAPH_AGGREGATION_USE_PROBABILITY_BASED_WEIGHTED_AVERAGE = "useProbabilityBasedWeightedAverage";
    public static final String MULTIGRAPH_AGGREGATION_FILTER_VALUES_FOR_SOURCE_ORIGINS  = "filterValuesForSourceOrigins";
    public static final String MULTIGRAPH_AGGREGATION_INPUT_PARAMETERS                  = "aggregationInputParameters";
    public static final String MULTIGRAPH_AGGREGATION_INPUT_PARAMETERS_FACTOR           = "inputFactor";
    public static final String MULTIGRAPH_AGGREGATION_INPUT_PARAMETERS_GRAVITATION_ATTRACTION_STRENGTH = "gravitationAttractionStrength";
    public static final String MULTIGRAPH_AGGREGATION_INPUT_PARAMETERS_GRAVITATION_POSITIVE_INFLUENCE  = "gravitationPositiveInfluence";
    public static final String MULTIGRAPH_AGGREGATION_INPUT_PARAMETERS_GRAVITATION_COMPETING_POSITIVE_INFLUENCE  = "gravitationCompetingPositiveInfluence";
    public static final String MULTIGRAPH_AGGREGATION_LEARNT_MAX_EDGE_WEIGHT            = "learntMaxEdgeWeight";
    public static final String MULTIGRAPH_PRE_AGGREGATION_PIPELINE                      = "preAggregationPipeline";
    public static final String MULTIGRAPH_AGGREGATION_MATH_EXPRESSION                   = "mathExpression";
    public static final String NEXT_STOPS_START_TIME                                    = "nextStopsStartTime";
    public static final String NEXT_STOPS_END_TIME                                      = "nextStopsEndTime";

    public static final String EDGE_WEIGHT                                              = "edgeWeight";
    public static final String MAX_EDGE_WEIGHT                                          = "maxEdgeWeight";
    public static final String STATISTIC_GROUP_ID                                       = "statisticGroupId";
    public static final String STATISTICS_ID                                            = "statistics";
    public static final String FORMAT                                                   = "format";
    public static final String INTER_SERVICE_KEY                                        = "interServiceKey";
    public static final String INTER_SERVICE_REQUEST                                    = "interServiceRequest";
    public static final String TRAVEL_TIME_FACTORS										= "travelTimeFactors";
    public static final String GEO_JSON   												= "geojson";
    public static final String DATA   												    = "data";
    public static final String CRS                                                      = "crs";
    public static final String ROUTE_FROM_CENTROID                                      = "routeFromCentroid";


    public static final int BAD_GATEWAY_CODE                                            = Response.Status.BAD_GATEWAY.getStatusCode();

    // Location scoring constants

    public static final String LOCATIONS                                                = "locations";
    public static final String COMPETITORS                                              = "competitors";
    public static final String CRITERIA                                                 = "criteria";
    public static final String CRITERION_TYPE_POI_COVERAGE_COUNT = "poiCoverageCount";
    public static final String CRITERION_TYPE_POI_COVERAGE_DISTANCE = "poiCoverageDistance";
    public static final String CRITERION_TYPE_CLOSEST_POI_DISTANCE = "closestPoiDistance";
    public static final String CRITERION_TYPE_CLOSEST_POI_ABSOLUTE_DISTANCE = "closestPoiAbsoluteDistance";
    public static final String CRITERION_TYPE_POI_COUNT_IN_ZONE = "poiCountInZone";
    public static final String CRITERION_TYPE_STATISTICS_SUM = "statisticsSum";
    public static final String CRITERION_TYPE_STATISTICS_MAX = "statisticsMax";
    public static final String CRITERION_TYPE_STATISTICS_SUM_IN_ZONE = "statisticsSumInZone";
    public static final String CRITERION_TYPE_STATISTICS_DISTANCE = "statisticsDistance";
    public static final String CRITERION_TYPE_STATISTICS_DISTANCE_AVERAGE = "statisticsDistanceAverage";
    public static final String CRITERION_TYPE_GRAVITATION_SUM = "gravitationSum";
    public static final String CRITERION_TYPE_GRAVITATION_DISTANCE_AVERAGE = "gravitationDistanceAverage";
    public static final String CRITERION_TYPE_STATISTICS_ON_ENCLOSING_CELL = "statisticsOnEnclosingCell";
    public static final String CRITERION_TYPE_POI_GRAVITATION_SUM = "poiGravitationSum";
    public static final String CRITERION_TYPE_EDGE_STATISTICS = "edgeStatistics";
    public static final String CRITERION_TYPE_EDGE_STATISTICS_REACHABILITY = "edgeStatisticsReachability";
    public static final String CRITERION_TYPE_MATH_AGGREGATION = "mathAggregation";
    public static final String CRITERION_TYPE_STAYPOINT_COUNT = "staypointCount";
    public static final String CRITERION_TYPE_TRANSIT_STOPS_SUM = "transitStopsSum";
    public static final String CRITERION_TYPE_TRANSIT_STOPS_DISTANCE = "transitStopsDistance";
    public static final String CRITERION_TYPE_POLYGON_AREA = "polygonArea";
    public static final String CRITERION_TYPE_REFERENCE = "criterionReference";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy