[OpenLayers-Dev] GML examples?

John Cole john.cole at uai.com
Tue Aug 28 11:42:07 EDT 2007


I suppose the correct fix would be to run the output form PostGIS through a
stylesheet to fix this, so I don't think OL should have to support a bad
schema.

I just selected a zip code from MsSqlSpatial and the results are below.  It
has the same outerBoundaryIs tag.  Looking at the schema at both
http://schemas.opengis.net/gml/3.1.1/base/geometryBasic2d.xsd and
http://schemas.opengis.net/gml/3.1.1/base/geometryBasic2d.xsd it appears
that PostGIS and MsSqlSpatial have it right.  Odd that GDAL is different.

<gml:MultiPolygon><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:
LinearRing><gml:coordinates>-81.6533999999993,24.5925800000005
-81.6524900000005,24.5925499999994 -81.6519100000006,24.5923500000008
-81.6491399999996,24.5922900000005 -81.64826,24.5917499999996
-81.6476800000001,24.5915399999995 -81.6470100000007,24.5916500000003
-81.6457699999992,24.5932499999999 -81.6483499999996,24.5982299999996
-81.6487500000004,24.5984200000003 -81.6490200000008,24.5967600000004
-81.6492500000005,24.5982000000004 -81.6488499999997,24.5985299999993
-81.6495500000002,24.5999499999998 -81.6430500000007,24.6031000000003
-81.6430799999999,24.6035900000006 -81.6440000000003,24.6033000000007
-81.6466600000004,24.6065999999992 -81.6469699999999,24.6080600000005
-81.6474600000002,24.6082499999993 -81.6478499999995,24.6089599999996
-81.6513500000002,24.6129700000002 -81.65179,24.6154600000009
-81.6520500000007,24.6148400000002 -81.6532900000003,24.6139500000009
-81.6523799999996,24.61348 -81.6511699999993,24.6100000000006
-81.6492500000005,24.6090399999994 -81.6485200000007,24.60707
-81.6493599999995,24.6066900000005 -81.6476299999996,24.6045599999998
-81.6469199999993,24.6042500000003 -81.6455000000006,24.60275
-81.6495099999994,24.6005399999995 -81.6502099999999,24.6010600000009
-81.6512500000009,24.6008500000007 -81.6504900000001,24.6013700000003
-81.6517399999994,24.6019500000002 -81.65719,24.6014099999993
-81.6579199999997,24.6008000000002 -81.6624599999996,24.6015299999999
-81.6633199999997,24.6023499999992 -81.6627100000006,24.6047699999999
-81.6636299999992,24.6067700000003 -81.6636999999992,24.6015499999994
-81.6660499999999,24.6017599999996 -81.6700899999997,24.6039600000004
-81.6743200000002,24.6049999999996 -81.6757199999994,24.60455
-81.67627,24.5999599999996 -81.6797900000002,24.5954000000002
-81.6810100000003,24.5955400000003 -81.6817499999998,24.5967500000006
-81.6846900000001,24.5959999999996 -81.6854500000009,24.5897100000002
-81.6892800000006,24.5896699999994 -81.6950099999995,24.5879499999992
-81.7029999999996,24.60347 -81.7040400000006,24.6037300000007
-81.7038400000002,24.5997299999999 -81.7080999999999,24.5955099999992
-81.7106399999994,24.5903699999999 -81.7070999999997,24.5947199999992
-81.70637,24.5962099999997 -81.7061099999993,24.5960300000006
-81.7095000000009,24.5895500000006 -81.7105800000009,24.5891699999993
-81.7021399999995,24.5901400000003 -81.7005599999994,24.5908199999995
-81.7001700000002,24.5846000000002 -81.7013100000004,24.5847599999998
-81.7044499999993,24.5884100000003 -81.7060999999995,24.5839699999997
-81.702010000001,24.5843000000005 -81.702010000001,24.5833299999995
-81.7074900000008,24.5805999999993 -81.7101199999998,24.5851199999998
-81.7103800000005,24.5856100000001 -81.7103000000007,24.5858800000006
-81.7108499999996,24.58756 -81.7109400000009,24.5890899999995
-81.7140500000006,24.58684 -81.7120599999999,24.5835599999991
-81.7100599999995,24.5831400000007 -81.7087699999993,24.5794000000006
-81.7130600000001,24.5784500000009 -81.7128200000007,24.5777899999994
-81.7081099999997,24.57798 -81.7089300000008,24.5751299999993
-81.7091400000009,24.5750900000003 -81.7076400000006,24.5752499999999
-81.7063400000007,24.5723899999994 -81.70745,24.5712899999999
-81.7084599999999,24.5726300000006 -81.7104799999998,24.5697600000003
-81.7108900000004,24.5733400000009 -81.7126100000006,24.5670300000002
-81.7171500000005,24.5638500000005 -81.7184500000004,24.5577699999995
-81.7160399999994,24.5567499999998 -81.70788,24.5565700000007
-81.6941100000004,24.5589999999993 -81.6877499999992,24.5586500000009
-81.6866100000007,24.5580399999999 -81.6789200000004,24.5616300000002
-81.66943,24.5683800000006 -81.6694499999995,24.5701700000009
-81.6685500000004,24.5694100000001 -81.6655499999998,24.5730600000006
-81.6582899999995,24.5729200000005 -81.6566399999993,24.5774099999999
-81.6456999999992,24.5826899999993 -81.6484099999999,24.5836400000008
-81.6473700000007,24.5898799999996 -81.6489500000008,24.5901300000005
-81.6510999999992,24.58475 -81.6533099999998,24.5854199999995
-81.6539300000005,24.5856500000009 -81.6545299999999,24.5844500000003
-81.6569700000001,24.5808199999992 -81.6593400000002,24.5785500000002
-81.6640100000005,24.5766000000004 -81.66612,24.5739900000008
-81.6665799999992,24.5744500000001 -81.6661999999997,24.5743000000002
-81.6654500000005,24.5751500000006 -81.6651600000006,24.5756600000005
-81.6649799999996,24.5762900000009 -81.6651500000008,24.5762500000001
-81.6652300000006,24.5763399999996 -81.6668399999999,24.5748100000001
-81.67094,24.5779500000008 -81.6686699999992,24.5785099999994
-81.6677500000006,24.5811099999992 -81.6718899999997,24.5847699999995
-81.6693799999994,24.5842499999999 -81.6678100000009,24.5822599999992
-81.6630999999998,24.5841899999996 -81.6630499999993,24.5851800000001
-81.6628400000009,24.5851899999998 -81.6627300000001,24.5852799999994
-81.6626500000003,24.5855599999996 -81.6613799999996,24.5877199999996
-81.6653600000009,24.5911899999992 -81.6631899999994,24.5879600000008
-81.6664500000007,24.5867799999997 -81.6679600000008,24.5886800000008
-81.6688300000006,24.5873900000006 -81.6705199999997,24.5893500000002
-81.6711599999999,24.5872999999993 -81.671840000001,24.5875300000007
-81.67692,24.5869500000008 -81.6688599999999,24.59152
-81.6688799999993,24.5920299999998 -81.6695400000009,24.5920700000006
-81.6698699999998,24.5963100000008 -81.6705899999998,24.5970500000003
-81.67015,24.5977000000003 -81.6673499999998,24.5968499999999
-81.667880000001,24.5959000000003 -81.6667899999994,24.5945800000009
-81.6665599999997,24.59411 -81.6660499999999,24.5946600000007
-81.6635299999999,24.5945400000001 -81.6657699999997,24.5939400000007
-81.6656100000001,24.5936500000007 -81.6653700000007,24.5928500000009
-81.6647099999992,24.5927800000009 -81.663200000001,24.5919799999993
-81.6630000000006,24.5934500000003 -81.6626199999992,24.59375
-81.6623,24.5931799999999 -81.6618500000005,24.5924500000001
-81.6615500000008,24.5932799999992 -81.6618199999994,24.59404
-81.6615500000008,24.5944899999995 -81.6591599999993,24.5957600000002
-81.6587099999998,24.5956700000006 -81.6578100000007,24.5955300000005
-81.6575200000007,24.5964800000002 -81.6559300000009,24.5971499999996
-81.6539200000007,24.5970199999993 -81.6495799999994,24.5952899999993
-81.6493499999998,24.5945300000003 -81.6508500000001,24.5934799999996
-81.6533600000003,24.5932699999994 -81.6533999999993,24.5925800000005
</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml
:polygonMember><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:Lin
earRing><gml:coordinates>-81.7723100000004,24.5851000000003
-81.7742600000002,24.5846700000002 -81.7817400000004,24.5774899999997
-81.7791699999999,24.5734300000004 -81.7770400000009,24.5727000000006
-81.7765500000006,24.5726400000003 -81.7752999999994,24.5736500000003
-81.7701600000001,24.5683900000004 -81.7704699999996,24.5684600000004
-81.7709799999994,24.5681999999997 -81.7719699999999,24.5686999999998
-81.7747999999993,24.5667099999992 -81.7752600000004,24.5664500000003
-81.7769499999996,24.5654699999996 -81.7761699999993,24.5643700000001
-81.7769499999996,24.5639499999998 -81.7776300000006,24.5633500000004
-81.7788700000002,24.5635000000002 -81.7795000000006,24.5629700000009
-81.781070000001,24.5630999999994 -81.7817099999994,24.5634699999992
-81.7819099999998,24.5634300000002 -81.7825300000005,24.5637399999996
-81.7829000000002,24.5642000000007 -81.7831499999994,24.5645700000005
-81.7897099999992,24.5657300000003 -81.8016800000006,24.5679299999993
-81.8017500000006,24.56754 -81.7996700000004,24.5668800000003
-81.7998499999995,24.5665499999996 -81.801880000001,24.5665800000006
-81.8016499999995,24.5661199999995 -81.8004099999999,24.5660000000007
-81.8004299999994,24.5654599999998 -81.7983600000008,24.5650900000001
-81.7984400000006,24.5647800000006 -81.8021000000009,24.5649699999995
-81.8020099999995,24.5647300000001 -81.7984699999998,24.5641699999997
-81.7989600000002,24.5628799999995 -81.8021300000001,24.5610199999992
-81.8025199999993,24.5608900000007 -81.8032999999997,24.5617500000008
-81.8043600000002,24.5627499999992 -81.8069099999994,24.5616499999997
-81.8068800000002,24.5610500000003 -81.8074899999993,24.5609499999992
-81.8081999999996,24.5582799999993 -81.8076600000005,24.55811
-81.8082200000009,24.55739 -81.8090300000004,24.5572499999999
-81.809080000001,24.5566099999997 -81.8085499999998,24.5571700000001
-81.8086299999996,24.5564599999998 -81.8080699999992,24.5572300000004
-81.8076899999997,24.55134 -81.8101900000002,24.5498800000005
-81.8111100000006,24.5513200000005 -81.8106700000008,24.5537499999991
-81.8099000000003,24.5554100000009 -81.81099,24.5545700000003
-81.8123899999992,24.5452700000006 -81.8060000000006,24.5447600000007
-81.8045199999998,24.5438300000005 -81.8006000000006,24.5460700000003
-81.797560000001,24.5463400000008 -81.7947600000008,24.5467000000008
-81.7937600000006,24.5467200000003 -81.7924999999996,24.5470700000006
-81.7885999999999,24.5468199999996 -81.7848500000001,24.5468700000002
-81.7838900000007,24.5461099999993 -81.7837400000008,24.5451499999999
-81.7830500000001,24.5452100000002 -81.7829700000003,24.54529
-81.7844499999993,24.5474799999993 -81.7837099999998,24.5482100000009
-81.7778099999997,24.5499299999992 -81.7759700000007,24.5498599999992
-81.7661000000008,24.5522500000007 -81.7551100000001,24.5516499999994
-81.75209,24.55235 -81.7500400000009,24.5535 -81.7484499999992,24.55494
-81.7478900000006,24.5558299999994 -81.7488099999992,24.5610899999993
-81.7497700000004,24.5633099999996 -81.7499000000008,24.5636599999998
-81.7498300000007,24.5636799999993 -81.7493799999994,24.5626200000006
-81.7492199999998,24.5626100000009 -81.7484299999997,24.5640800000001
-81.7496200000006,24.5650399999995 -81.7498699999997,24.5640999999996
-81.7509100000007,24.5660499999995 -81.7502700000005,24.5663700000005
-81.7497299999996,24.5685200000007 -81.7495899999995,24.5687899999994
-81.7506799999993,24.5724399999999 -81.7533299999996,24.5718099999995
-81.7546999999996,24.5723500000004 -81.7617100000008,24.5722299999998
-81.7680500000007,24.5690099999993 -81.7705299999999,24.5696700000008
-81.7723399999996,24.5713099999994 -81.77427,24.5734699999994
-81.774230000001,24.5735100000002 -81.7681599999997,24.5794499999993
-81.7686400000003,24.5805400000009 -81.76959,24.5804700000008
-81.7715000000008,24.5787799999998 -81.7715599999993,24.5787899999996
-81.7714199999992,24.5789000000005 -81.7706500000005,24.5798500000001
-81.7697000000008,24.5808799999995 -81.7686599999998,24.5810500000007
-81.7684499999997,24.5815500000008 -81.768110000001,24.5819599999996
-81.7658900000007,24.5828199999997 -81.7665099999995,24.5846500000007
-81.7688099999997,24.5851399999993 -81.7716299999994,24.5848600000009
-81.7718900000001,24.5852300000006 -81.7723100000004,24.5851000000003
</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml
:polygonMember><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:Lin
earRing><gml:coordinates>-81.6078799999996,24.6252499999992
-81.6073899999993,24.6272900000004 -81.6084100000008,24.6278500000008
-81.6083899999995,24.6279900000009 -81.6077999999998,24.6277300000002
-81.6053699999994,24.6278199999997 -81.6043300000002,24.6282499999998
-81.6042699999999,24.6254499999996 -81.6017599999996,24.6225599999998
-81.6018399999994,24.6186300000009 -81.6000100000002,24.6197200000006
-81.5990999999995,24.6250299999993 -81.5987800000003,24.6258999999991
-81.6008500000008,24.6251300000004 -81.6008299999995,24.6263999999992
-81.6008399999992,24.6307099999995 -81.5982299999997,24.6298399999996
-81.5993199999994,24.6326700000009 -81.5937099999993,24.6321499999995
-81.5941800000001,24.6285800000005 -81.5969399999995,24.6264100000008
-81.5934600000001,24.6275299999998 -81.5928700000005,24.6182499999996
-81.5942099999994,24.6169100000007 -81.5912499999996,24.6183799999999
-81.5907800000005,24.6221900000001 -81.5895899999997,24.6240600000001
-81.5911500000003,24.6248799999994 -81.5918500000008,24.6295100000007
-81.5887399999993,24.6319500000009 -81.5920800000004,24.6301399999993
-81.5933100000003,24.6407500000005 -81.5935200000004,24.6441699999996
-81.5893699999998,24.6439900000005 -81.587450000001,24.6443899999995
-81.5854999999993,24.6437700000006 -81.5854899999996,24.6468100000002
-81.5890500000006,24.6508200000008 -81.5864000000002,24.6519800000006
-81.5865099999993,24.6533199999995 -81.5819800000009,24.6548500000008
-81.5851500000009,24.6569299999992 -81.58965,24.6521499999999
-81.6003500000007,24.6548600000006 -81.6028900000002,24.6528999999992
-81.6019400000005,24.6520400000009 -81.6021899999997,24.6513400000004
-81.6004799999992,24.6500300000007 -81.6053499999999,24.6499800000002
-81.6099699999996,24.6524300000001 -81.6117500000001,24.6495699999996
-81.6133300000002,24.6506499999996 -81.6145899999993,24.6491999999999
-81.6142700000001,24.6462200000006 -81.6105599999993,24.6472200000008
-81.6096699999999,24.6449300000004 -81.6081200000009,24.6459099999993
-81.6074700000009,24.6472799999992 -81.6012599999995,24.64509
-81.6011500000005,24.6428099999994 -81.5971100000007,24.64257
-81.5959000000003,24.6404500000008 -81.5983300000008,24.6386399999992
-81.5978500000002,24.6368299999995 -81.6074100000006,24.6331399999999
-81.6077000000006,24.63148 -81.6106099999998,24.6294400000006
-81.6082900000002,24.6314999999995 -81.6086400000005,24.6329399999995
-81.6118499999994,24.6345299999994 -81.61262,24.6326399999998
-81.6116899999998,24.6318499999998 -81.6140300000007,24.6328699999995
-81.6132600000002,24.6315500000001 -81.6147999999995,24.6322500000006
-81.6118499999994,24.6353899999995 -81.6171500000001,24.6361899999993
-81.6182499999996,24.6342199999999 -81.6217899999993,24.6335999999992
-81.6244200000002,24.6345500000007 -81.6265199999999,24.6320899999992
-81.6235400000006,24.6327799999999 -81.6251200000007,24.6309399999991
-81.62241,24.6282200000005 -81.6218599999994,24.6284699999997
-81.6219999999995,24.6263199999994 -81.6200200000004,24.6277300000002
-81.6203000000006,24.6296199999997 -81.6196600000004,24.6283199999998
-81.6190499999994,24.6285599999992 -81.6187100000007,24.6288399999994
-81.6196199999996,24.6277200000004 -81.6132799999997,24.6255500000007
-81.6148099999992,24.6235799999995 -81.61881,24.6261500000001
-81.6197599999997,24.6244600000009 -81.6245,24.6207200000008
-81.6245199999995,24.6184599999997 -81.6229700000004,24.6170700000003
-81.6209899999995,24.6201000000001 -81.6183099999999,24.61888
-81.6181799999996,24.6204699999999 -81.6122400000005,24.6213100000005
-81.6127099999995,24.6225900000009 -81.6117400000004,24.6236000000008
-81.6127300000008,24.6254100000006 -81.6111500000007,24.6231800000005
-81.6098600000006,24.6225200000008 -81.6093199999997,24.62565
-81.6080299999995,24.6261599999998 -81.6085500000009,24.6255700000002
-81.6078799999996,24.6252499999992
</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml
:polygonMember><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:Lin
earRing><gml:coordinates>-81.7320500000006,24.5704499999993
-81.7314800000004,24.5717800000002 -81.7322100000002,24.5719499999996
-81.73229,24.57258 -81.7335399999993,24.5727100000004
-81.7340499999992,24.5732499999995 -81.7311699999992,24.57359
-81.7338299999993,24.57395 -81.7343099999999,24.5743899999998
-81.7207199999994,24.5766399999993 -81.7207500000005,24.57726
-81.7299700000004,24.5759300000009 -81.7309600000009,24.5761600000006
-81.7309399999995,24.5773000000009 -81.7287500000003,24.5780400000004
-81.7287899999993,24.5799599999991 -81.7304499999992,24.5823999999993
-81.7313099999993,24.5825600000008 -81.7315500000005,24.5825100000002
-81.7336799999995,24.5834300000006 -81.73445,24.5847099999992
-81.7353700000004,24.5854099999997 -81.7355200000003,24.5862799999996
-81.7369899999995,24.5874199999999 -81.7392299999993,24.5901699999995
-81.7420500000008,24.58684 -81.7428099999998,24.5865099999992
-81.7453000000006,24.5871700000007 -81.7480899999992,24.5895799999999
-81.7464899999996,24.5876200000003 -81.7420399999993,24.5854799999998
-81.7397099999999,24.58295 -81.7388499999998,24.58079
-81.7374600000004,24.5799100000004 -81.7358499999992,24.5796100000007
-81.7357900000007,24.5789499999992 -81.7339200000007,24.5777999999991
-81.7327499999993,24.5755399999998 -81.7346199999994,24.5751
-81.7347499999997,24.5750700000008 -81.7351999999992,24.5762900000009
-81.7396700000009,24.5790099999995 -81.7408799999995,24.5814599999994
-81.7420600000006,24.5822900000003 -81.7422200000002,24.5828700000002
-81.7446500000006,24.5843700000005 -81.7447400000002,24.5852300000006
-81.7457900000009,24.5849999999992 -81.7465699999994,24.5846099999999
-81.744780000001,24.5841400000009 -81.7450200000004,24.5822100000005
-81.7455900000005,24.5826500000003 -81.7478200000006,24.5820500000009
-81.7501400000002,24.58072 -81.7479299999996,24.5783100000008
-81.7484499999992,24.5775900000008 -81.7513299999992,24.5804599999992
-81.75094,24.5799100000004 -81.7504200000004,24.5784999999996
-81.7519300000004,24.5790500000003 -81.75209,24.5791000000009
-81.7528299999995,24.5785799999994 -81.7529400000004,24.5773100000006
-81.7517599999993,24.5754300000008 -81.7495199999995,24.5769199999995
-81.75065,24.5748800000001 -81.7505500000007,24.5731599999999
-81.7490799999997,24.5719800000006 -81.7489299999998,24.5708799999993
-81.7487299999994,24.5707000000002 -81.7476200000002,24.5710199999994
-81.7472699999999,24.5707299999995 -81.7480099999994,24.5705500000004
-81.7474800000001,24.5703699999995 -81.7478300000003,24.5698200000006
-81.7485600000001,24.5694500000009 -81.7485699999998,24.5688800000007
-81.7481399999998,24.5685200000007 -81.7473300000002,24.5672599999998
-81.7464899999996,24.5670800000007 -81.7454799999997,24.5679799999998
-81.7454500000004,24.5647000000008 -81.7430399999995,24.5646400000005
-81.7409000000008,24.5646099999995 -81.7410199999996,24.5641099999994
-81.7465699999994,24.5640399999993 -81.7466800000003,24.5638400000007
-81.7409700000008,24.5638500000005 -81.7409900000003,24.5615300000009
-81.74122,24.5619100000004 -81.7418500000004,24.5619499999994
-81.7419499999997,24.56178 -81.7426500000002,24.5617999999995
-81.7442200000006,24.5613799999992 -81.7446600000004,24.5608300000004
-81.7446199999996,24.5581500000008 -81.7440499999994,24.5579600000001
-81.7409599999993,24.5587699999997 -81.7376299999997,24.5599299999995
-81.7381100000003,24.5618500000001 -81.7403699999996,24.5615099999996
-81.7407800000002,24.5646300000008 -81.7401800000008,24.5650100000003
-81.7399600000009,24.5625999999993 -81.7368200000002,24.5621800000008
-81.7372599999999,24.5582200000008 -81.7358800000003,24.5580499999997
-81.7360499999996,24.5627600000007 -81.7388200000006,24.5628500000003
-81.7389700000004,24.5633899999994 -81.7362099999992,24.5637499999994
-81.7386399999997,24.5638500000005 -81.7387600000003,24.5645100000002
-81.7362599999998,24.5647100000006 -81.7384999999995,24.5649099999992
-81.7388800000009,24.5655900000002 -81.7366299999995,24.5656500000005
-81.7368399999997,24.5666299999994 -81.7360499999996,24.5668600000008
-81.7366700000003,24.5671500000008 -81.7365900000005,24.5681800000002
-81.7346199999994,24.5681299999997 -81.7345100000003,24.5675200000005
-81.7354300000007,24.5669899999994 -81.7345499999993,24.5668900000001
-81.7351199999994,24.56639 -81.7335399999993,24.5669300000009
-81.7334100000008,24.5661899999996 -81.7349099999993,24.5661899999996
-81.7351999999992,24.5657699999993 -81.7338500000006,24.5656999999992
-81.73373,24.5648099999999 -81.7351099999997,24.5645399999994
-81.7344099999992,24.5581199999997 -81.7338899999996,24.5579199999993
-81.7333500000005,24.5574400000005 -81.7319800000005,24.5570200000002
-81.7334699999993,24.5581899999998 -81.7327399999995,24.56675
-81.73186,24.5670599999994 -81.7304499999992,24.5668499999993
-81.73013,24.5646500000003 -81.7305699999998,24.5645299999997
-81.7303200000007,24.5620799999997 -81.7289500000007,24.5621800000008
-81.7286100000002,24.5618300000006 -81.7279500000005,24.5619299999999
-81.7283399999997,24.5633699999999 -81.7274099999996,24.5637800000004
-81.7269899999993,24.5634800000007 -81.7263500000009,24.5611700000009
-81.7249900000007,24.5606900000003 -81.7242200000001,24.5619999999999
-81.7243799999997,24.5618200000008 -81.7244300000003,24.5617700000003
-81.7247599999992,24.5612700000002 -81.7251699999998,24.5610500000003
-81.7254099999992,24.5610099999995 -81.7255999999998,24.5610300000008
-81.7257800000007,24.5611000000008 -81.7259799999993,24.5612299999994
-81.7261500000005,24.56142 -81.7262200000005,24.5615799999996
-81.7262499999998,24.5617299999995 -81.7262100000008,24.5618900000009
-81.7261600000002,24.5619700000007 -81.7260800000004,24.5620400000007
-81.72552,24.5624100000005 -81.7252499999996,24.5625299999993
-81.7241300000006,24.5624700000008 -81.7248700000001,24.5650800000003
-81.7269099999995,24.5650499999993 -81.7267499999999,24.5655900000002
-81.7261899999995,24.5652800000007 -81.7250399999994,24.5655499999994
-81.7261600000002,24.5659699999997 -81.7267800000009,24.5660900000003
-81.72689,24.5660499999995 -81.7275399999999,24.5655499999994
-81.7276700000003,24.5655999999999 -81.7277300000006,24.5656999999992
-81.7276999999995,24.5658000000003 -81.7269300000008,24.5665499999996
-81.7269500000003,24.56675 -81.7270300000001,24.5667799999992
-81.7271299999994,24.56675 -81.7272400000003,24.5665499999996
-81.7278499999994,24.5659300000007 -81.7280100000008,24.5658899999999
-81.728220000001,24.5659799999994 -81.7279899999995,24.56682
-81.728220000001,24.5670499999997 -81.7284500000006,24.5679099999998
-81.7297600000003,24.5677799999994 -81.7320500000006,24.5704499999993
</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml
:polygonMember><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:Lin
earRing><gml:coordinates>-81.59541,24.6039500000006
-81.5950300000005,24.6024199999993 -81.5995199999998,24.6010100000003
-81.5992700000007,24.6026099999999 -81.6007900000005,24.6011199999994
-81.5968799999992,24.6004200000007 -81.5918399999992,24.6033599999992
-81.5921999999992,24.6017300000003 -81.6004200000007,24.5979299999999
-81.6000299999997,24.59627 -81.6006500000004,24.5958100000007
-81.5968699999995,24.5971499999996 -81.5953599999994,24.5990899999997
-81.5887299999996,24.6005499999992 -81.5896699999995,24.5992100000003
-81.5891400000001,24.5987499999992 -81.5903500000005,24.59699
-81.5924699999997,24.5970699999998 -81.5940599999995,24.5965899999992
-81.5967700000002,24.5965500000002 -81.5995500000009,24.5941500000008
-81.5996099999994,24.5932900000007 -81.6004400000002,24.5937099999992
-81.6013199999998,24.5919900000008 -81.6035599999996,24.5931899999996
-81.6092900000004,24.5902000000006 -81.6088500000006,24.5889900000002
-81.6074599999994,24.5895500000006 -81.6085500000009,24.5875099999994
-81.6115200000005,24.58792 -81.61305,24.5893500000002
-81.6141499999995,24.5859000000001 -81.6109899999993,24.5855400000001
-81.6059100000003,24.5863499999996 -81.6014899999992,24.58655
-81.6002200000003,24.5877500000006 -81.5977700000004,24.5889499999994
-81.5946499999992,24.5925100000004 -81.5834099999994,24.5956700000006
-81.5794499999994,24.5988799999996 -81.5703900000009,24.6025200000004
-81.5720899999997,24.6059499999992 -81.5761500000009,24.6059999999998
-81.5743500000008,24.6061100000007 -81.5750599999993,24.6075500000007
-81.5761700000003,24.6074499999995 -81.5759999999992,24.6083500000005
-81.5781000000007,24.6079599999994 -81.5794200000001,24.6037199999992
-81.5825499999993,24.6018700000004 -81.5844799999996,24.6047799999997
-81.5851800000001,24.6050300000006 -81.5886699999993,24.6149600000008
-81.5901099999993,24.6090499999991 -81.5955699999996,24.6064600000009
-81.6000399999994,24.6089599999996 -81.6041399999995,24.6085500000009
-81.6038300000001,24.6075199999996 -81.6021099999999,24.6052500000005
-81.6028399999996,24.6039899999996 -81.6009099999993,24.6035800000009
-81.5991900000009,24.6053400000001 -81.5982199999999,24.6038499999995
-81.5980799999998,24.6022200000007 -81.5961399999997,24.60275
-81.5963699999994,24.6034600000003 -81.5968900000008,24.6038399999998
-81.59541,24.6039500000006
</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml
:polygonMember><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:Lin
earRing><gml:coordinates>-81.6307199999993,24.5918500000007
-81.63105,24.5911099999994 -81.6336599999996,24.5915999999998
-81.6334900000003,24.5899800000007 -81.6294400000007,24.5895500000006
-81.6280299999999,24.5896499999999 -81.6260800000001,24.5892600000007
-81.6250299999993,24.5882399999992 -81.6254000000009,24.5869399999993
-81.6260399999993,24.58655 -81.62601,24.5859299999993
-81.6276400000007,24.58432 -81.6256799999993,24.5808300000008
-81.6238900000008,24.5810299999994 -81.6234600000008,24.5849500000004
-81.6236000000009,24.5855100000008 -81.6223499999997,24.5867099999996
-81.62126,24.5904499999997 -81.6191299999992,24.5928399999994
-81.6182499999996,24.5943399999997 -81.6156800000009,24.5953599999994
-81.613660000001,24.5983400000005 -81.6121000000004,24.5985099999998
-81.6061200000005,24.5963499999998 -81.6051200000002,24.59663
-81.6029099999997,24.5946600000007 -81.60434,24.59375
-81.6034600000003,24.5933999999998 -81.6031800000001,24.5938999999999
-81.6021000000001,24.5934199999993 -81.6009500000001,24.5943700000007
-81.6014699999997,24.5954700000002 -81.6016999999993,24.5962099999997
-81.60261,24.5966100000005 -81.6029799999997,24.5968699999994
-81.6038300000001,24.5969800000003 -81.6014599999999,24.5984800000006
-81.6025399999999,24.5985999999994 -81.6057000000001,24.5976200000005
-81.6066800000009,24.5993899999994 -81.6056599999993,24.6005499999992
-81.606820000001,24.6004799999992 -81.6099500000001,24.5988199999993
-81.6134500000008,24.6008899999997 -81.6140799999994,24.6027699999995
-81.6153699999996,24.6007399999999 -81.6155299999992,24.5998600000003
-81.6200499999996,24.5952799999996 -81.6214999999994,24.5941800000001
-81.6216299999997,24.5928800000002 -81.6255199999997,24.5912499999995
-81.6288399999995,24.5925100000004 -81.6307199999993,24.5918500000007
</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml
:polygonMember><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:Lin
earRing><gml:coordinates>-81.7993499999994,24.5760900000005
-81.7968199999997,24.5764400000008 -81.7957000000007,24.5749099999994
-81.7974300000006,24.5730600000006 -81.7994600000003,24.5723300000009
-81.8004199999996,24.5709900000002 -81.7992699999996,24.5701100000006
-81.7976500000005,24.5684500000007 -81.7946400000002,24.5673599999991
-81.7942500000009,24.5755599999993 -81.7944599999992,24.5763000000007
-81.7941800000009,24.5832800000008 -81.7941100000008,24.5895500000006
-81.7962499999995,24.5946000000004 -81.7991500000008,24.5941600000006
-81.7990499999997,24.5926500000005 -81.7969599999997,24.5920999999999
-81.7963899999996,24.5913000000001 -81.7968700000002,24.5882500000007
-81.8002199999993,24.5863499999996 -81.8007400000007,24.5856600000007
-81.7980499999995,24.58691 -81.7972800000008,24.5858499999995
-81.7993499999994,24.5760900000005
</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml
:polygonMember><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:Lin
earRing><gml:coordinates>-81.8124700000008,24.5636900000009
-81.8137200000002,24.5634699999992 -81.8155499999994,24.5628500000003
-81.8156899999995,24.5624200000002 -81.8152100000007,24.5614499999993
-81.8153500000008,24.5611700000009 -81.8151500000004,24.5607500000006
-81.8143099999998,24.5601999999999 -81.8127999999998,24.5604000000003
-81.8124100000005,24.5606800000005 -81.8119499999994,24.5624499999995
-81.8121100000008,24.5629900000004 -81.8124700000008,24.5636900000009
</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml
:polygonMember></gml:MultiPolygon>


-----Original Message-----
From: Christopher Schmidt [mailto:crschmidt at metacarta.com] 
Sent: Tuesday, August 28, 2007 9:46 AM
To: John Cole
Cc: dev at openlayers.org
Subject: Re: [OpenLayers-Dev] GML examples?

On Sun, Aug 26, 2007 at 12:55:35PM -0500, John Cole wrote:
> Christopher,
>   Try http://docs.codehaus.org/display/GEOS/Available+WMS+and+WFS+servers
> 
>   One way I want to use OL, is to have a simple web service that makes a
SQL
> call to PostGIS or MsSqlSpatial (using asGML) and have OL handle that
> output.  That might not be the correct way, but its one way I want to do
it
> :-)

So, I set up a PostGIS database and asked for GML output for a couple
different geometries:

foss=> select AsGML('POLYGON((1 2, 4 5, 3 6, 1 2))'::geometry);
                                         asgml
----------------------------------------------------------------------------
-
 <gml:Polygon><gml:OuterBoundaryIs>1,2 4,5 3,6
                                   1,2</gml:OuterBoundaryIs></gml:Polygon>

Note that capital 'OuterBoundaryIs', which doesn't match GDAL, and has
never been my understanding. 

I think this is a bug in PostGIS, but I can't login to the bug tracker,
so I don't know if it's a known bug or just something I bumped into.

>From the original posting to the mailing list:

http://postgis.refractions.net/pipermail/postgis-devel/2004-September/000491
.html

It seems like this is a bug which has always existed.

Should OpenLayers be supporting this? Or is this a bug in PostGIS that
we can simply say "You have invalid GML -- sorry?" to? 

Regards,
-- 
Christopher Schmidt
MetaCarta

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007
6:20 PM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007
6:20 PM
 
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.



More information about the Dev mailing list