public String getCoordinatesField() { if ( coordinatesField != null ) { return coordinatesField; } else { return SpatialHelper.stripSpatialFieldSuffix( latitudeField ); } }
public String getCoordinatesField() { if ( coordinatesField != null ) { return coordinatesField; } else { return SpatialHelper.stripSpatialFieldSuffix( latitudeField ); } }
if ( SpatialHelper.isSpatialFieldLatitude( fieldPath ) ) { Number value = field.numericValue(); String spatialPropertyPath = SpatialHelper.stripSpatialFieldSuffix( fieldPath ); accessorBuilder.buildForPath( spatialPropertyPath + ".lat" ) .add( root, value != null ? new JsonPrimitive( value ) : null ); String spatialPropertyPath = SpatialHelper.stripSpatialFieldSuffix( fieldPath ); accessorBuilder.buildForPath( spatialPropertyPath + ".lon" ) .add( root, value != null ? new JsonPrimitive( value ) : null );
if ( SpatialHelper.isSpatialFieldLatitude( fieldPath ) ) { Number value = field.numericValue(); String spatialPropertyPath = SpatialHelper.stripSpatialFieldSuffix( fieldPath ); accessorBuilder.buildForPath( spatialPropertyPath + ".lat" ) .add( root, value != null ? new JsonPrimitive( value ) : null ); String spatialPropertyPath = SpatialHelper.stripSpatialFieldSuffix( fieldPath ); accessorBuilder.buildForPath( spatialPropertyPath + ".lon" ) .add( root, value != null ? new JsonPrimitive( value ) : null );
mappingBuilder.setPropertyAbsolute( SpatialHelper.stripSpatialFieldSuffix( propertyPath ), propertyMapping );
mappingBuilder.setPropertyAbsolute( SpatialHelper.stripSpatialFieldSuffix( propertyPath ), propertyMapping );