| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Hasura.SQL.GeoJSON
Documentation
Instances
| Eq Position Source # | |
| Show Position Source # | |
| FromJSON Position Source # | |
Defined in Hasura.SQL.GeoJSON | |
| ToJSON Position Source # | |
Defined in Hasura.SQL.GeoJSON Methods toEncoding :: Position -> Encoding toJSONList :: [Position] -> Value toEncodingList :: [Position] -> Encoding | |
withParsedArray :: FromJSON a => String -> (Vector a -> Parser b) -> Value -> Parser b Source #
newtype MultiPoint Source #
Constructors
| MultiPoint | |
Fields
| |
Instances
| Eq MultiPoint Source # | |
Defined in Hasura.SQL.GeoJSON | |
| Show MultiPoint Source # | |
Defined in Hasura.SQL.GeoJSON Methods showsPrec :: Int -> MultiPoint -> ShowS # show :: MultiPoint -> String # showList :: [MultiPoint] -> ShowS # | |
| FromJSON MultiPoint Source # | |
Defined in Hasura.SQL.GeoJSON | |
| ToJSON MultiPoint Source # | |
Defined in Hasura.SQL.GeoJSON Methods toJSON :: MultiPoint -> Value toEncoding :: MultiPoint -> Encoding toJSONList :: [MultiPoint] -> Value toEncodingList :: [MultiPoint] -> Encoding | |
| ToWKT MultiPoint Source # | |
Defined in Hasura.SQL.WKT | |
data LineString Source #
Instances
| Eq LineString Source # | |
Defined in Hasura.SQL.GeoJSON | |
| Show LineString Source # | |
Defined in Hasura.SQL.GeoJSON Methods showsPrec :: Int -> LineString -> ShowS # show :: LineString -> String # showList :: [LineString] -> ShowS # | |
| FromJSON LineString Source # | |
Defined in Hasura.SQL.GeoJSON | |
| ToJSON LineString Source # | |
Defined in Hasura.SQL.GeoJSON Methods toJSON :: LineString -> Value toEncoding :: LineString -> Encoding toJSONList :: [LineString] -> Value toEncodingList :: [LineString] -> Encoding | |
| ToWKT LineString Source # | |
Defined in Hasura.SQL.WKT | |
newtype MultiLineString Source #
Constructors
| MultiLineString | |
Fields | |
Instances
| Eq MultiLineString Source # | |
Defined in Hasura.SQL.GeoJSON Methods (==) :: MultiLineString -> MultiLineString -> Bool # (/=) :: MultiLineString -> MultiLineString -> Bool # | |
| Show MultiLineString Source # | |
Defined in Hasura.SQL.GeoJSON Methods showsPrec :: Int -> MultiLineString -> ShowS # show :: MultiLineString -> String # showList :: [MultiLineString] -> ShowS # | |
| FromJSON MultiLineString Source # | |
Defined in Hasura.SQL.GeoJSON Methods parseJSON :: Value -> Parser MultiLineString parseJSONList :: Value -> Parser [MultiLineString] | |
| ToJSON MultiLineString Source # | |
Defined in Hasura.SQL.GeoJSON Methods toJSON :: MultiLineString -> Value toEncoding :: MultiLineString -> Encoding toJSONList :: [MultiLineString] -> Value toEncodingList :: [MultiLineString] -> Encoding | |
| ToWKT MultiLineString Source # | |
Defined in Hasura.SQL.WKT | |
data LinearRing Source #
Constructors
| LinearRing | |
Instances
| Eq LinearRing Source # | |
Defined in Hasura.SQL.GeoJSON | |
| Show LinearRing Source # | |
Defined in Hasura.SQL.GeoJSON Methods showsPrec :: Int -> LinearRing -> ShowS # show :: LinearRing -> String # showList :: [LinearRing] -> ShowS # | |
| FromJSON LinearRing Source # | |
Defined in Hasura.SQL.GeoJSON | |
| ToJSON LinearRing Source # | |
Defined in Hasura.SQL.GeoJSON Methods toJSON :: LinearRing -> Value toEncoding :: LinearRing -> Encoding toJSONList :: [LinearRing] -> Value toEncodingList :: [LinearRing] -> Encoding | |
Constructors
| Polygon | |
Fields
| |
newtype MultiPolygon Source #
Constructors
| MultiPolygon | |
Fields
| |
Instances
| Eq MultiPolygon Source # | |
Defined in Hasura.SQL.GeoJSON | |
| Show MultiPolygon Source # | |
Defined in Hasura.SQL.GeoJSON Methods showsPrec :: Int -> MultiPolygon -> ShowS # show :: MultiPolygon -> String # showList :: [MultiPolygon] -> ShowS # | |
| FromJSON MultiPolygon Source # | |
Defined in Hasura.SQL.GeoJSON | |
| ToJSON MultiPolygon Source # | |
Defined in Hasura.SQL.GeoJSON Methods toJSON :: MultiPolygon -> Value toEncoding :: MultiPolygon -> Encoding toJSONList :: [MultiPolygon] -> Value toEncodingList :: [MultiPolygon] -> Encoding | |
| ToWKT MultiPolygon Source # | |
Defined in Hasura.SQL.WKT | |
data CRSNameProps Source #
Constructors
| CRSNameProps | |
Fields
| |
data CRSLinkProps Source #
Constructors
| CRSLinkProps | |
Constructors
| CRSName !CRSNameProps | |
| CRSLink !CRSLinkProps |
data GeometryWithCRS Source #
Instances
| Eq GeometryWithCRS Source # | |
Defined in Hasura.SQL.GeoJSON Methods (==) :: GeometryWithCRS -> GeometryWithCRS -> Bool # (/=) :: GeometryWithCRS -> GeometryWithCRS -> Bool # | |
| Show GeometryWithCRS Source # | |
Defined in Hasura.SQL.GeoJSON Methods showsPrec :: Int -> GeometryWithCRS -> ShowS # show :: GeometryWithCRS -> String # showList :: [GeometryWithCRS] -> ShowS # | |
| FromJSON GeometryWithCRS Source # | |
Defined in Hasura.SQL.GeoJSON Methods parseJSON :: Value -> Parser GeometryWithCRS parseJSONList :: Value -> Parser [GeometryWithCRS] | |
| ToJSON GeometryWithCRS Source # | |
Defined in Hasura.SQL.GeoJSON Methods toJSON :: GeometryWithCRS -> Value toEncoding :: GeometryWithCRS -> Encoding toJSONList :: [GeometryWithCRS] -> Value toEncodingList :: [GeometryWithCRS] -> Encoding | |
| ToWKT GeometryWithCRS Source # | |
Defined in Hasura.SQL.WKT | |
encToCoords :: ToJSON a => Text -> a -> Maybe CRS -> Value Source #
newtype GeometryCollection Source #
Constructors
| GeometryCollection | |
Fields | |
Instances
| Eq GeometryCollection Source # | |
Defined in Hasura.SQL.GeoJSON Methods (==) :: GeometryCollection -> GeometryCollection -> Bool # (/=) :: GeometryCollection -> GeometryCollection -> Bool # | |
| Show GeometryCollection Source # | |
Defined in Hasura.SQL.GeoJSON Methods showsPrec :: Int -> GeometryCollection -> ShowS # show :: GeometryCollection -> String # showList :: [GeometryCollection] -> ShowS # | |
| FromJSON GeometryCollection Source # | |
Defined in Hasura.SQL.GeoJSON Methods parseJSON :: Value -> Parser GeometryCollection parseJSONList :: Value -> Parser [GeometryCollection] | |
| ToJSON GeometryCollection Source # | |
Defined in Hasura.SQL.GeoJSON Methods toJSON :: GeometryCollection -> Value toEncoding :: GeometryCollection -> Encoding toJSONList :: [GeometryCollection] -> Value toEncodingList :: [GeometryCollection] -> Encoding | |
| ToWKT GeometryCollection Source # | |
Defined in Hasura.SQL.WKT | |