Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Eq Position Source # | |
Show Position Source # | |
FromJSON Position Source # | |
Defined in Hasura.SQL.GeoJSON parseJSON :: Value -> Parser Position parseJSONList :: Value -> Parser [Position] | |
ToJSON Position Source # | |
Defined in Hasura.SQL.GeoJSON toEncoding :: Position -> Encoding toJSONList :: [Position] -> Value toEncodingList :: [Position] -> Encoding |
withParsedArray :: FromJSON a => String -> (Vector a -> Parser b) -> Value -> Parser b Source #
Instances
Eq Point Source # | |
Show Point Source # | |
FromJSON Point Source # | |
Defined in Hasura.SQL.GeoJSON parseJSON :: Value -> Parser Point parseJSONList :: Value -> Parser [Point] | |
ToJSON Point Source # | |
Defined in Hasura.SQL.GeoJSON | |
ToWKT Point Source # | |
newtype MultiPoint Source #
Instances
Eq MultiPoint Source # | |
Defined in Hasura.SQL.GeoJSON (==) :: MultiPoint -> MultiPoint -> Bool # (/=) :: MultiPoint -> MultiPoint -> Bool # | |
Show MultiPoint Source # | |
Defined in Hasura.SQL.GeoJSON showsPrec :: Int -> MultiPoint -> ShowS # show :: MultiPoint -> String # showList :: [MultiPoint] -> ShowS # | |
FromJSON MultiPoint Source # | |
Defined in Hasura.SQL.GeoJSON parseJSON :: Value -> Parser MultiPoint parseJSONList :: Value -> Parser [MultiPoint] | |
ToJSON MultiPoint Source # | |
Defined in Hasura.SQL.GeoJSON 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 (==) :: LineString -> LineString -> Bool # (/=) :: LineString -> LineString -> Bool # | |
Show LineString Source # | |
Defined in Hasura.SQL.GeoJSON showsPrec :: Int -> LineString -> ShowS # show :: LineString -> String # showList :: [LineString] -> ShowS # | |
FromJSON LineString Source # | |
Defined in Hasura.SQL.GeoJSON parseJSON :: Value -> Parser LineString parseJSONList :: Value -> Parser [LineString] | |
ToJSON LineString Source # | |
Defined in Hasura.SQL.GeoJSON toJSON :: LineString -> Value toEncoding :: LineString -> Encoding toJSONList :: [LineString] -> Value toEncodingList :: [LineString] -> Encoding | |
ToWKT LineString Source # | |
Defined in Hasura.SQL.WKT |
newtype MultiLineString Source #
Instances
Eq MultiLineString Source # | |
Defined in Hasura.SQL.GeoJSON (==) :: MultiLineString -> MultiLineString -> Bool # (/=) :: MultiLineString -> MultiLineString -> Bool # | |
Show MultiLineString Source # | |
Defined in Hasura.SQL.GeoJSON showsPrec :: Int -> MultiLineString -> ShowS # show :: MultiLineString -> String # showList :: [MultiLineString] -> ShowS # | |
FromJSON MultiLineString Source # | |
Defined in Hasura.SQL.GeoJSON parseJSON :: Value -> Parser MultiLineString parseJSONList :: Value -> Parser [MultiLineString] | |
ToJSON MultiLineString Source # | |
Defined in Hasura.SQL.GeoJSON toJSON :: MultiLineString -> Value toEncoding :: MultiLineString -> Encoding toJSONList :: [MultiLineString] -> Value toEncodingList :: [MultiLineString] -> Encoding | |
ToWKT MultiLineString Source # | |
Defined in Hasura.SQL.WKT |
data LinearRing Source #
Instances
Eq LinearRing Source # | |
Defined in Hasura.SQL.GeoJSON (==) :: LinearRing -> LinearRing -> Bool # (/=) :: LinearRing -> LinearRing -> Bool # | |
Show LinearRing Source # | |
Defined in Hasura.SQL.GeoJSON showsPrec :: Int -> LinearRing -> ShowS # show :: LinearRing -> String # showList :: [LinearRing] -> ShowS # | |
FromJSON LinearRing Source # | |
Defined in Hasura.SQL.GeoJSON parseJSON :: Value -> Parser LinearRing parseJSONList :: Value -> Parser [LinearRing] | |
ToJSON LinearRing Source # | |
Defined in Hasura.SQL.GeoJSON toJSON :: LinearRing -> Value toEncoding :: LinearRing -> Encoding toJSONList :: [LinearRing] -> Value toEncodingList :: [LinearRing] -> Encoding |
Polygon | |
|
Instances
Eq Polygon Source # | |
Show Polygon Source # | |
FromJSON Polygon Source # | |
Defined in Hasura.SQL.GeoJSON parseJSON :: Value -> Parser Polygon parseJSONList :: Value -> Parser [Polygon] | |
ToJSON Polygon Source # | |
Defined in Hasura.SQL.GeoJSON toEncoding :: Polygon -> Encoding toJSONList :: [Polygon] -> Value toEncodingList :: [Polygon] -> Encoding | |
ToWKT Polygon Source # | |
newtype MultiPolygon Source #
Instances
Eq MultiPolygon Source # | |
Defined in Hasura.SQL.GeoJSON (==) :: MultiPolygon -> MultiPolygon -> Bool # (/=) :: MultiPolygon -> MultiPolygon -> Bool # | |
Show MultiPolygon Source # | |
Defined in Hasura.SQL.GeoJSON showsPrec :: Int -> MultiPolygon -> ShowS # show :: MultiPolygon -> String # showList :: [MultiPolygon] -> ShowS # | |
FromJSON MultiPolygon Source # | |
Defined in Hasura.SQL.GeoJSON parseJSON :: Value -> Parser MultiPolygon parseJSONList :: Value -> Parser [MultiPolygon] | |
ToJSON MultiPolygon Source # | |
Defined in Hasura.SQL.GeoJSON toJSON :: MultiPolygon -> Value toEncoding :: MultiPolygon -> Encoding toJSONList :: [MultiPolygon] -> Value toEncodingList :: [MultiPolygon] -> Encoding | |
ToWKT MultiPolygon Source # | |
Defined in Hasura.SQL.WKT |
data CRSNameProps Source #
CRSNameProps | |
|
data GeometryWithCRS Source #
Instances
Eq GeometryWithCRS Source # | |
Defined in Hasura.SQL.GeoJSON (==) :: GeometryWithCRS -> GeometryWithCRS -> Bool # (/=) :: GeometryWithCRS -> GeometryWithCRS -> Bool # | |
Show GeometryWithCRS Source # | |
Defined in Hasura.SQL.GeoJSON showsPrec :: Int -> GeometryWithCRS -> ShowS # show :: GeometryWithCRS -> String # showList :: [GeometryWithCRS] -> ShowS # | |
FromJSON GeometryWithCRS Source # | |
Defined in Hasura.SQL.GeoJSON parseJSON :: Value -> Parser GeometryWithCRS parseJSONList :: Value -> Parser [GeometryWithCRS] | |
ToJSON GeometryWithCRS Source # | |
Defined in Hasura.SQL.GeoJSON 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 #
Instances
Eq GeometryCollection Source # | |
Defined in Hasura.SQL.GeoJSON (==) :: GeometryCollection -> GeometryCollection -> Bool # (/=) :: GeometryCollection -> GeometryCollection -> Bool # | |
Show GeometryCollection Source # | |
Defined in Hasura.SQL.GeoJSON showsPrec :: Int -> GeometryCollection -> ShowS # show :: GeometryCollection -> String # showList :: [GeometryCollection] -> ShowS # | |
FromJSON GeometryCollection Source # | |
Defined in Hasura.SQL.GeoJSON parseJSON :: Value -> Parser GeometryCollection parseJSONList :: Value -> Parser [GeometryCollection] | |
ToJSON GeometryCollection Source # | |
Defined in Hasura.SQL.GeoJSON toJSON :: GeometryCollection -> Value toEncoding :: GeometryCollection -> Encoding toJSONList :: [GeometryCollection] -> Value toEncodingList :: [GeometryCollection] -> Encoding | |
ToWKT GeometryCollection Source # | |
Defined in Hasura.SQL.WKT |