Skip to main content
Question

boundedBy missing in CityGML


Hello everyone. I am trying to transform KML parcel data into cityGML GenericCityObject and get as close as possible to a sample file I was given. I am particularly interested in the LOT_KEY attribute. When I transform it, I manage to get it into the attributes and that is all fine. But I can't understand why boundeBy happens outside of the  GenericCityOject. I need it to be also within as the sample file I also has it. Does anyone know what am I missing?  citygml_feature_role in my file shows cityOjectMember and in the sample file boundedBy.

This is my file:

<?xml version="1.0" encoding="UTF-8"?>
<core:CityModel xmlns:brid="http://www.opengis.net/citygml/bridge/2.0" xmlns:tran="http://www.opengis.net/citygml/transportation/2.0" xmlns:frn="http://www.opengis.net/citygml/cityfurniture/2.0" xmlns:wtr="http://www.opengis.net/citygml/waterbody/2.0" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:veg="http://www.opengis.net/citygml/vegetation/2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:tun="http://www.opengis.net/citygml/tunnel/2.0" xmlns:tex="http://www.opengis.net/citygml/texturedsurface/2.0" xmlns:gml="http://www.opengis.net/gml" xmlns:gen="http://www.opengis.net/citygml/generics/2.0" xmlns:dem="http://www.opengis.net/citygml/relief/2.0" xmlns:app="http://www.opengis.net/citygml/appearance/2.0" xmlns:luse="http://www.opengis.net/citygml/landuse/2.0" xmlns:xAL="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0" xmlns:bldg="http://www.opengis.net/citygml/building/2.0" xmlns:smil20="http://www.w3.org/2001/SMIL20/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:smil20lang="http://www.w3.org/2001/SMIL20/Language" xmlns:pbase="http://www.opengis.net/citygml/profiles/base/2.0" xmlns:core="http://www.opengis.net/citygml/2.0" xmlns:grp="http://www.opengis.net/citygml/cityobjectgroup/2.0">
<gml:boundedBy>
<gml:Envelope srsName="EPSG:4326" srsDimension="3">
<gml:lowerCorner>1.26871270440194 103.819343318131 0</gml:lowerCorner>
<gml:upperCorner>1.26971645830091 103.819958991181 0</gml:upperCorner>
</gml:Envelope>
</gml:boundedBy>
<core:cityObjectMember>
<gen:GenericCityObject gml:id="UUID_e246f60b-0e9f-4f74-bbb3-deb96b7efa52">
<gen:stringAttribute name="integer">
<gen:value>1</gen:value>
</gen:stringAttribute>
<gen:intAttribute name="tessellate">
<gen:value>-1</gen:value>
</gen:intAttribute>
<gen:intAttribute name="extrude">
<gen:value>0</gen:value>
</gen:intAttribute>
<gen:intAttribute name="visibility">
<gen:value>-1</gen:value>
</gen:intAttribute>
<gen:stringAttribute name="LOT_KEY">
<gen:value>MK01-00121W</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="INC_CRC">
<gen:value>ECC760583B0F6674</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="FMEL_UPD_D">
<gen:value>20181106010036</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="snippet">
<gen:value></gen:value>
</gen:stringAttribute>
<gen:lod1Geometry>
<gml:Polygon srsName="EPSG:4326" srsDimension="3">
<gml:exterior>
<gml:LinearRing>
<gml:posList>1.26896420626564 103.819343318131 0 1.2692578540151 103.819423555662 0 1.26971645830091 103.819571721534 0 1.26946016330691 103.819958991181 0 1.26882149973169 103.819765450217 0 1.26871270440194 103.819723758803 0 1.26896420626564 103.819343318131 0</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gen:lod1Geometry>
</gen:GenericCityObject>
</core:cityObjectMember>
</core:CityModel>

Screenshot 2021-03-11 at 10.10.24 AMScreenshot 2021-03-11 at 9.28.48 AM 

0 replies

Be the first to reply!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings