DetectedIntegration, APIs & connectivity
ABAP Openapi
A source-verified project description is not available yet. Open the detail page or wait for a manual refresh.
abapdotabapintegration-api
Source facts need a manual refresh
ABAP Classes to create GeoJson strings
ABAP Classes to create GeoJSON strings according to RFC 7946 and display results with LeafletJS.
Import Source with abapGit
Needs JSON Document Class with at least version 2.33
write:/ zcl_json_document=>get_version( ).This example will create a simple point object:
DATA(geojson) = NEW zcl_geojson( ).
DATA(point) = geojson->get_new_point(
i_latitude = CONV #( '49.29278417339369' )
i_longitude = CONV #( '8.64398717880249' )
).
geojson->add_feature( point ).
cl_demo_output=>display_json( geojson->get_json( ) ).Result
{
"type":"FeatureCollection",
"features":
[
{
"type":"Feature",
"properties":
{
"popupContent":""
},
"geometry":
{
"type":"Point",
"coordinates":
[
8.6439871788025,
49.2927841733937
]
}
}
]
}More examples: see demo report ZGEOJSONDEMO
Result
This software is published under MIT License