Skip to content

Commit

Permalink
Test for Remove Duplicate Vertices alg. (Polygons with duplicates in …
Browse files Browse the repository at this point in the history
…several holes)
  • Loading branch information
gacarrillor committed Mar 10, 2020
1 parent 329c552 commit 8d2f75d
Show file tree
Hide file tree
Showing 5 changed files with 173 additions and 0 deletions.
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8" ?>
<ogr:FeatureCollection
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ogr.maptools.org/ polygons_with_duplicate_nodes_in_several_holes.xsd"
xmlns:ogr="http://ogr.maptools.org/"
xmlns:gml="http://www.opengis.net/gml">
<gml:boundedBy>
<gml:Box>
<gml:coord><gml:X>970591.8044000001</gml:X><gml:Y>1021622.991100004</gml:Y></gml:coord>
<gml:coord><gml:X>970794.8794000011</gml:X><gml:Y>1021825.4999</gml:Y></gml:coord>
</gml:Box>
</gml:boundedBy>

<gml:featureMember>
<ogr:polygons_with_duplicate_nodes_in_several_holes fid="1">
<ogr:geometryProperty><gml:MultiPolygon srsName="EPSG:3116"><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>970759.712,1021760.978 970764.9052,1021757.1022 970770.7154,1021752.7659 970776.645800001,1021748.3399 970782.485800001,1021743.7142 970788.032390288,1021749.40040836 970791.6786,1021753.1384 970794.842700005,1021750.62950001 970794.879400001,1021750.5865 970788.904700001,1021744.8252 970786.433871998,1021742.34562914 970783.309,1021739.2097 970782.745700001,1021738.6381 970778.094800001,1021733.2735 970775.9155,1021730.7549 970773.814300001,1021725.7692 970772.534337447,1021723.41457435 970769.683342929,1021718.16987027 970767.787300001,1021714.6819 970765.389489469,1021711.53040806 970760.430799999,1021705.0131 970760.171236406,1021704.6035465 970756.126600002,1021698.2217 970750.768686617,1021691.49471533 970748.4635,1021688.6005 970744.7254,1021683.9072 970740.301,1021678.7434 970735.695500001,1021673.4719 970735.411352376,1021673.0563462 970732.01005573,1021668.08209467 970731.702700002,1021667.6326 970729.668100002,1021664.7839 970725.899500001,1021659.5067 970725.3562,1021658.746 970724.484500001,1021657.5253 970720.751900001,1021652.3624 970716.979900002,1021647.6964 970713.374500001,1021642.7759 970709.7704,1021637.979 970705.46,1021632.4635 970699.413900001,1021622.9911 970695.162900001,1021626.1189 970698.545400001,1021631.1952 970701.882300003,1021636.1811 970705.316800001,1021641.1009 970705.593393652,1021641.51790465 970706.975110198,1021643.60104076 970708.6333,1021646.101 970712.062700002,1021651.0243 970715.4341,1021655.9875 970718.74,1021660.9946 970725.787,1021670.7074 970719.971,1021674.9517 970715.053600001,1021678.5613 970709.4422,1021682.746 970709.7238,1021683.1593 970709.765,1021683.2199 970704.931900001,1021686.9415 970697.8511,1021676.5193 970694.386500001,1021671.3777 970691.0472,1021666.3928 970687.693700001,1021661.4174 970684.873029838,1021657.28897822 970684.3089,1021656.4633 970682.647300001,1021653.9655 970681.008400002,1021651.5018 970679.2789,1021649.0148 970674.1898,1021652.528 970674.137600001,1021652.5654 970678.017699999,1021658.6786 970681.8029,1021664.5669 970685.610700001,1021670.4406 970685.9601,1021670.1954 970689.396783525,1021675.11361157 970689.977639973,1021675.9448708 970693.406300001,1021680.8516 970696.890756001,1021685.73603159 970700.2591,1021690.4577 970695.3851,1021693.9568 970690.54,1021697.4959 970685.4759,1021701.0728 970680.5787,1021704.5394 970674.747400001,1021708.7626 970673.761400001,1021709.4765 970669.8874,1021712.2812 970676.3768,1021719.7875 970680.332300002,1021716.0675 970685.264,1021711.4294 970685.5541,1021711.6942 970690.406700001,1021707.2318 970695.872100002,1021703.02 970697.840507373,1021701.56131072 970705.473199999,1021695.9051 970709.988685418,1021702.47251081 970711.110500001,1021704.1041 970714.646900001,1021709.3179 970718.504800002,1021715.0823 970718.4417,1021715.7891 970718.707566438,1021715.55049888 970726.443626517,1021724.72401372 970721.233960082,1021729.39941484 970721.459699999,1021729.6671 970717.419800001,1021733.3993 970713.012700002,1021737.4708 970708.495400001,1021741.6441 970704.088200001,1021745.7156 970699.7798,1021749.6958 970700.046016676,1021750.12975297 970703.256043766,1021755.36233578 970703.5192,1021755.7913 970709.1761,1021751.2568 970713.8813,1021746.7722 970719.974499998,1021741.5883 970726.0735,1021736.4112 970730.692400001,1021732.613 970735.806313384,1021740.61911578 970741.027900001,1021748.7938 970743.120837531,1021751.59907591 970749.551100001,1021760.2179 970742.987200001,1021765.0339 970736.8301,1021769.4812 970732.613400001,1021772.46670001 970736.300166411,1021777.64662535 970736.589400001,1021778.053 970741.393254675,1021774.42642576 970741.620157652,1021774.25512988 970741.794514476,1021774.12350268 970741.964600001,1021773.9951 970746.829800001,1021770.5008 970751.593600001,1021766.9862 970754.8795,1021764.5846 970759.712,1021760.978</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs><gml:innerBoundaryIs><gml:LinearRing><gml:coordinates>970737.219600002,1021735.5988 970733.235200001,1021729.8434 970738.194180008,1021726.46577112 970739.212685497,1021725.77205315 970744.3448,1021722.2765 970743.371,1021720.1928 970749.993100001,1021715.933 970749.692200001,1021715.3574 970755.776900001,1021711.3684 970759.1153,1021716.4499 970762.354900001,1021721.381 970765.567,1021726.2703 970768.697400001,1021730.8674 970776.1606,1021741.5849 970771.315100001,1021745.1235 970766.428400001,1021748.7242 970761.919,1021752.0446 970757.824400001,1021754.9141 970752.974800001,1021758.3268 970752.959800001,1021758.3351 970745.188400001,1021747.1096 970741.204,1021741.3542 970737.219600002,1021735.5988</gml:coordinates></gml:LinearRing></gml:innerBoundaryIs><gml:innerBoundaryIs><gml:LinearRing><gml:coordinates>970734.193900002,1021715.3119 970729.785300002,1021719.3818 970720.9965,1021708.4843 970716.4526,1021702.925 970712.7766,1021696.9679 970709.546399999,1021692.0376 970708.937400002,1021691.1081 970710.2133,1021689.9316 970717.855499999,1021682.8843 970722.831110375,1021679.05261231 970728.5577,1021674.6426 970732.9342,1021680.0388 970734.6825526,1021682.55703625 970736.956700001,1021685.8326 970740.943280096,1021691.70257069 970740.943300002,1021691.7026 970741.985100002,1021690.8963 970745.164534099,1021694.92135738 970746.794480646,1021696.98481527 970749.422500001,1021700.3118 970744.565100002,1021703.9772 970744.875548346,1021704.36916352 970745.428100001,1021705.0668 970738.406017618,1021710.97238518 970738.406,1021710.9724 970738.713013401,1021711.36718873 970738.990700001,1021711.7243 970734.193900002,1021715.3119</gml:coordinates></gml:LinearRing></gml:innerBoundaryIs></gml:Polygon></gml:polygonMember><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>970666.469146604,1021812.77195393 970663.268,1021807.8908 970666.7735,1021804.3511 970666.489562873,1021803.93953753 970666.3855,1021803.7887 970669.190579452,1021801.29591826 970668.906675971,1021800.88432135 970668.6161,1021800.4631 970675.502100001,1021792.8032 970676.410500002,1021794.1902 970677.805600001,1021792.7669 970677.512494539,1021792.36818164 970673.507799999,1021786.9205 970671.6636,1021784.4117 970668.424512777,1021780.00545565 970668.119400002,1021779.5904 970668.153500001,1021779.5686 970661.9551,1021772.1073 970660.4343,1021770.2766 970661.001100001,1021769.8437 970659.729600001,1021768.2741 970659.978,1021768.0844 970651.649176558,1021757.08589768 970650.818,1021755.9883 970665.394300001,1021744.964 970670.341400001,1021741.19 970668.295300001,1021738.4412 970663.4173,1021742.1393 970658.441,1021745.4916 970653.82876389,1021748.92715284 970653.6041,1021749.0945 970648.825200001,1021752.6501 970645.2072,1021747.8637 970645.036969757,1021747.64133652 970641.4384,1021742.9407 970641.071485606,1021742.58204471 970634.108200001,1021735.7755 970627.6317,1021725.6733 970624.5237,1021720.855 970624.330700001,1021720.5537 970624.325300001,1021720.5453 970621.044900001,1021715.5492 970621.014600001,1021715.5029 970617.173300001,1021709.6354 970617.058100001,1021709.4595 970615.222500001,1021706.607 970613.3953,1021703.7675 970612.2301,1021701.9568 970612.0959,1021701.7555 970609.572200001,1021697.97 970610.471,1021697.3058 970608.922121134,1021694.96038068 970606.620619419,1021691.47528788 970605.045196515,1021689.08967374 970602.7872,1021685.6704 970600.7016,1021682.5123 970598.905500001,1021679.8162 970598.032331658,1021678.50553456 970597.1839,1021677.232 970591.8044,1021681.7333 970592.680892386,1021682.92628874 970594.769,1021685.7684 970626.291100001,1021728.6728 970631.548500001,1021736.6942 970637.948100002,1021746.2261 970633.579400001,1021750.0615 970633.526300002,1021750.1091 970629.2187,1021753.9734 970625.479814319,1021757.32742509 970625.211300002,1021757.5683 970624.8619,1021757.8537 970622.269928414,1021759.97070083 970620.4269,1021761.476 970615.920100003,1021765.157 970611.22743344,1021758.00977391 970609.580900001,1021755.502 970607.493594209,1021752.4471408 970604.132200002,1021747.5276 970598.818,1021751.8843 970601.262800001,1021755.2069 970604.282800001,1021759.3112 970614.1824,1021773.3675 970621.0465,1021783.0483 970630.262400001,1021795.9835 970638.3024,1021807.3598 970645.002400003,1021816.8492 970650.650683965,1021824.8141819 970650.9357,1021825.2161 970653.273900001,1021823.3292 970653.035385442,1021822.88981175 970652.884200001,1021822.6113 970656.355,1021817.6447 970656.356578162,1021817.64248623 970658.9758,1021813.8945 970660.534500001,1021811.7819 970668.880876339,1021824.53068805 970668.931296393,1021824.60770286 970669.515400001,1021825.4999 970669.851312895,1021825.12951965 970669.979300005,1021824.98840001 970671.971923949,1021822.06761543 970672.2745,1021821.6241 970672.244700002,1021821.5786 970668.326037733,1021815.60336797 970666.469146604,1021812.77195393</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs><gml:innerBoundaryIs><gml:LinearRing><gml:coordinates>970626.215408726,1021766.87791156 970631.202300001,1021761.9309 970631.3557,1021762.1377 970641.569800001,1021751.575 970645.056600001,1021756.3538 970648.286900001,1021760.9686 970650.057693025,1021763.35290696 970651.76,1021765.645 970654.668200001,1021770.3846 970658.116500001,1021774.9412 970661.509692394,1021779.70048934 970661.509700001,1021779.7005 970662.5697,1021778.6913 970663.538836583,1021779.98839558 970669.012900001,1021787.3149 970669.015,1021787.3517 970668.568265093,1021787.89685231 970665.018791442,1021792.22828849 970663.98874205,1021793.48526169 970662.800400001,1021794.9354 970662.494700001,1021794.5361 970662.494663409,1021794.53613604 970659.676900001,1021797.3114 970660.276800002,1021798.0344 970656.400400003,1021802.3723 970654.3758,1021804.3863 970654.7861,1021804.7965 970652.7145,1021806.9501 970648.940600001,1021811.5444 970643.535025795,1021804.19517036 970641.639,1021801.6174 970637.498400001,1021796.0185 970633.950100001,1021791.3217 970629.417400001,1021784.984 970627.4739,1021782.2421 970625.7247,1021778.6782 970620.8483,1021772.2021 970626.215408726,1021766.87791156</gml:coordinates></gml:LinearRing></gml:innerBoundaryIs></gml:Polygon></gml:polygonMember></gml:MultiPolygon></ogr:geometryProperty>
<ogr:area_terreno_alfanumerica xsi:nil="true"/>
<ogr:area_terreno_digital>4948.38</ogr:area_terreno_digital>
<ogr:manzana_vereda_codigo xsi:nil="true"/>
<ogr:numero_subterraneos xsi:nil="true"/>
<ogr:gc_predio>5137</ogr:gc_predio>
</ogr:polygons_with_duplicate_nodes_in_several_holes>
</gml:featureMember>
</ogr:FeatureCollection>
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://ogr.maptools.org/" xmlns:ogr="http://ogr.maptools.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="1.0">
<xs:import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd"/>
<xs:element name="FeatureCollection" type="ogr:FeatureCollectionType" substitutionGroup="gml:_FeatureCollection"/>
<xs:complexType name="FeatureCollectionType">
<xs:complexContent>
<xs:extension base="gml:AbstractFeatureCollectionType">
<xs:attribute name="lockId" type="xs:string" use="optional"/>
<xs:attribute name="scope" type="xs:string" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="polygons_with_duplicate_nodes_in_several_holes" type="ogr:polygons_with_duplicate_nodes_in_several_holes_Type" substitutionGroup="gml:_Feature"/>
<xs:complexType name="polygons_with_duplicate_nodes_in_several_holes_Type">
<xs:complexContent>
<xs:extension base="gml:AbstractFeatureType">
<xs:sequence>
<xs:element name="geometryProperty" type="gml:MultiPolygonPropertyType" nillable="true" minOccurs="0" maxOccurs="1"/>
<xs:element name="area_terreno_alfanumerica" nillable="true" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:decimal">
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="area_terreno_digital" nillable="true" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:decimal">
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="manzana_vereda_codigo" nillable="true" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="17"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="numero_subterraneos" nillable="true" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:totalDigits value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="gc_predio" nillable="true" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:long">
<xs:totalDigits value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>

0 comments on commit 8d2f75d

Please sign in to comment.