[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [udig-devel] Reading a GML file | 
Hi Didier - do you have the schema for the GML file you created? That is 
generally needed as well. The GeoTools library has some method that can 
help generate GML content; but you have to set them up very carefully to 
refer to a schema you already have made.
Phrased another way there is no such thing as a gml file. GML is only a 
starting point people use when they write their own file format; we need 
the XSD description of your custom file format. If you were serving up 
this content from a WFS the description of the format would be from the 
descriptFeatureType operation.
Jody
Didier Leibovici wrote:
Hello there,
I have UDig 1.1.1 and I wanted to read GML file created by geotools
but it doesn't read it at all!
I tried other GML viewer and some were able to load the polygons but 
were not showing the list of attribute values.
Do you know why?
the file looks like below (here only one polygon)
thanks
Didier
<wfs:FeatureCollection>
<gml:boundedBy>
<gml:Box srsName="[EPSG:27700]">
<gml:coordinates decimal="." cs="," ts=" ">452089.0944,343041.3632 
457937.0939,347117.7187</gml:coordinates>
</gml:Box>
</gml:boundedBy>
<gml:featureMember>
<gml:PopDouble40 fid="PopDouble40.1">
<gml:the_geom>
<gml:MultiPolygon srsName="[EPSG:27700]">
<gml:polygonMember>
<gml:Polygon>
<gml:outerBoundaryIs>
<gml:LinearRing>
<gml:coordinates decimal="." cs="," ts=" ">
453977.0002,344697.0001 453975.7571,344702.5912 
454009.7303,344679.5348 454019.6682,344674.1568 
454074.4727,344694.6378 454074.484,344694.6419 454074.4973,344694.1534 
454074.6253,344689.6878 454074.911,344686.3127 454076.3753,344669.0316 
454077.9164,344655.8057 454080.0934,344637.1248 
454083.6877,344611.0313 454084.6984,344605.088 454089.4446,344577.1983 
454094.6394,344546.6657 454095.4606,344541.8396 454095.6255,344540.875 
454096.8522,344535.415 454098.889,344526.3516 454099.1706,344525.0972 
454101.1878,344516.1249 454104.0858,344504.7288 
454104.1626,344504.4267 454105.4661,344499.3006 
454106.8117,344494.0116 454109.9062,344481.8434 
454112.4324,344472.9182 454116.1249,344459.8704 
454116.1454,344459.7967 454116.3861,344458.9447 
454116.3994,344458.8997 454116.4065,344458.8751 
454123.0625,344438.7187 454127.2917,344426.6211 454128.2184,344423.969 
454143.219,344384.9996 454145.7595,344378.8474 454147.8833,344373.7059 
454152.8118,344361.7733 454154.4041,344357.9179 
454160.8748,344342.2497 454166.7812,344329.6248 
454171.0246,344321.3201 454184.9685,344294.0316 
454186.6314,344291.1726 454232.4687,344212.344 454240.4693,344200.438 
454256.5,344177.4686 454257.4318,344176.2224 454264.0018,344167.4406 
454271.4371,344157.4996 454293.2114,344130.8029 
454306.4067,344114.6247 454311.8789,344108.5258 
454324.6871,344094.2502 454343.3751,344074.2187 
454367.2179,344050.2571 454368.5624,344048.9065 
454418.5941,344000.8747 454444.1562,343976.2188 
454444.1429,343976.2076 454443.9483,343976.0529 
454422.4689,343958.8436 454415.9378,343954.9995 
454411.0308,343955.1562 454406.1566,343954.0001 
454391.0003,343947.3748 454387.9672,343946.358 454381.0317,343944.0314 
454375.4058,343942.9685 454353.2188,343940.813 454343.6874,343940.5939 
454338.8122,343942.7811 454333.2191,343946.9376 
454328.3121,343952.3433 454324.6984,343957.4735 
454324.4373,343957.8442 454322.2182,343962.5003 454321.4687,343968.375 
454321.268,343973.6578 454321.2188,343974.9378 454320.7191,343981.2815 
454309.7807,343981.4996 454300.531,343982.0628 454284.3128,343983.094 
454270.8442,343984.0627 454269.3368,343985.3304 
454265.1538,343988.8529 454264.1247,343989.7193 
454260.9062,343993.2817 454259.2187,343996.1561 
454257.0314,344000.1559 454254.8442,344002.7814 
454252.3753,344007.2184 454250.9376,344010.0938 
454230.4515,344010.7819 454221.1873,344011.0942 
454220.9242,344011.1413 454218.9315,344011.5038 454216.5476,344011.938 
454215.1836,344012.1868 454206.2502,344013.8129 
454202.8751,344015.2189 454184.8128,344027.2499 
454181.9948,344028.9886 454174.5308,344033.5936 
454169.4374,344035.7501 454167.2502,344035.831 454165.8483,344035.8832 
454150.8754,344036.4372 454137.9064,344037.75 454134.9542,344037.9107 
454128.755,344038.2497 454124.7501,344038.4688 454115.8648,344038.9122 
454111.5937,344039.1252 454105.0002,344040.1564 
454099.8751,344041.3125 454093.132,344043.3769 454091.8121,344043.7813 
454092.9057,344042.2013 454093.4997,344041.3442 
454097.1871,344036.4997 454106.7185,344030.8441 
454111.7187,344027.8438 454112.0934,344023.5317 
454110.8749,344018.1875 454107.4691,344017.7185 
454100.3748,344020.6246 454093.2498,344022.1248 
454090.7195,344022.0705 454087.3987,344021.9998 
454081.5629,344021.8749 454071.5625,344022.094 454061.5017,344023.0351 
454058.8751,344023.2809 454048.3658,344024.4359 454045.2191,344024.781 
454036.4373,344026.2505 454031.4934,344027.3185 
454031.1196,344027.3984 454028.6252,344027.938 454028.5432,344027.9575 
454015.6879,344031.1564 454006.8078,344033.0007 
453999.4371,344034.5315 453997.7526,344034.9043 
453996.1879,344035.2504 453991.0003,344036.4372 
453984.9372,344037.6875 453978.0938,344037.1561 
453973.6681,344036.7075 453973.4684,344036.6871 
453967.8876,344036.3317 453967.094,344036.2816 453965.8458,344034.4005 
453965.644,344034.0963 453964.9375,344033.0314 453959.0628,344029.1873 
453953.9059,344027.6871 453947.2192,344026.7369 
453946.8751,344026.6877 453944.7155,344027 453944.6879,344027.0041 
453939.7502,344027.7189 453935.9306,344028.4285 
453935.5333,344028.5022 453930.2392,344029.4853 
453929.4323,344029.6358 453928.3121,344029.8437 453921.781,344031.3121 
453920.7263,344031.5179 453919.4319,344031.7698 453918.5206,344031.947 
453912.8579,344033.0498 453904.9301,344034.593 453902.7459,344035.0179 
453898.5761,344035.83 453896.6674,344036.2017 453894.8129,344036.5621 
453888.7754,344038.4698 453887.3367,344038.9245 
453883.7998,344040.0417 453881.4446,344040.7851 
453873.0785,344043.4281 453845.8627,344052.0256 
453845.8442,344052.0317 453843.7,344047.6101 453840.8133,344041.6555 
453839.6009,344039.1559 453837.8427,344035.5299 
453834.4707,344028.5739 453831.6219,344022.6982 
453824.7304,344008.4841 453823.2466,344005.4233 
453822.3803,344003.6354 453820.4787,343999.7135 
453818.0088,343994.6201 453817.8747,343994.3436 
453816.9603,343992.5486 453815.0433,343988.7843 
453810.9197,343980.6886 453810.2602,343979.3943 
453808.4467,343975.8328 453804.6231,343968.3269 453800.693,343960.61 
453799.201,343957.6814 453798.3122,343955.9375 453795.4634,343950.9056 
453791.3254,343943.5952 453788.704,343938.9637 453787.4844,343936.8102 
453786.5669,343935.1902 453784.6264,343931.7629 
453782.8078,343928.5496 453782.4709,343927.9546 
453779.0692,343921.9458 453778.5162,343920.9689 
453777.8435,343919.7811 453776.8287,343918.0689 
453772.7521,343911.1979 453771.5438,343909.1601 
453765.1868,343898.4409 453761.6847,343892.5386 
453744.5481,343863.6454 453743.6961,343862.2087 
453743.3654,343861.6517 453743.3633,343861.6527 
453741.7638,343858.9514 453741.1996,343858.0001 453741.1464,343857.911 
453741.1249,343857.8752 453737.9996,343852.8248 
453737.6003,343852.1797 453727.2077,343835.383 453726.7418,343834.6293 
453709.0133,343805.9768 453708.9119,343805.8129 
453707.4998,343803.5315 453700.4465,343792.6033 453686.6655,343771.254 
453681.1093,343762.6452 453680.5317,343761.7492 453649.398,343721.803 
453643.0001,343713.5936 453636.7813,343704.5312 
453633.5363,343698.6094 453633.0314,343697.6878 
453627.4066,343684.9379 453624.3817,343675.1761 
453619.2361,343658.5648 453614.4161,343643.0082 
453614.3752,343642.8751 453613.2283,343642.9908 
453593.6873,343644.9692 453593.4835,343645.0214 
453587.3702,343646.6045 453578.5065,343648.8983 
453578.4963,343648.9013 453576.906,343649.313 453570.0606,343652.044 
453525.2513,343669.922 453509.0005,343676.406 453485.8775,343684.5324 
453435.9022,343702.0951 453433.5941,343702.9061 
453432.9418,343703.3054 453402.187,343722.1562 453396.1178,343724.8524 
453351.1877,343744.8122 453330.9996,343752.3294 
453329.0857,343753.0432 453308.5197,343760.7017 453296.1057,343765.324 
453282.6248,343770.3436 453240.7852,343787.6431 
453235.3129,343789.9061 453193.6719,343812.7946 
453192.2189,343813.5933 453180.8177,343820.5934 453150.6875,343839.094 
453118.5001,343860.0942 453111.3372,343865.0145 
453068.7808,343894.2497 453059.5034,343901.5928 
453049.0002,343909.9066 453048.0376,343910.7238 
453023.8753,343931.2499 453015.6536,343937.1184 
453000.7186,343947.7813 452986.6755,343956.2078 452984.3121,343957.625 
452976.5942,343960.1871 452946.6975,343964.3916 
452928.8123,343966.9066 452914.3524,343970.2049 
452909.5887,343971.2913 452906.3181,343972.0368 452905.587,343972.2037 
452867.3856,343980.918 452861.4065,343982.2809 452851.6283,343984.3361 
452838.0941,343987.1797 452818.9074,343991.2122 
452817.6878,343991.4682 452798.0721,343999.8794 
452796.1879,344000.6873 452784.4396,344006.7095 
452777.7047,344010.1614 452775.0935,344011.4997 
452756.1485,344019.0927 452756.1505,344019.0947 
452775.0997,344011.4997 452796.2002,344000.6996 
452817.2454,343991.7929 452860.9999,344133.0004 
452853.8299,344135.3003 452852.255,344135.8051 452850.3575,344142.7632 
452859.1885,344151.5942 452868.0195,344156.0097 452872.435,344169.2572 
452881.267,344189.5692 452887.4488,344214.2968 452893.6932,344233.6545 
452896.2798,344241.6734 452906.8772,344270.8165 
452915.7082,344292.8949 452924.5402,344323.8044 452931.403,344345.251 
452931.6047,344345.8818 452943.9685,344340.5836 
452945.1154,344339.9662 452955.4496,344334.4017 452966.047,344330.8689 
452966.8805,344332.0158 452969.1313,344335.1104 
453058.8705,344472.0007 453064.4462,344480.5061 
453064.7053,344480.3535 453075.1675,344468.6748 
453142.5211,344404.8929 453186.1425,344371.2821 
453206.4955,344320.7139 453207.3864,344296.3489 
453208.1329,344289.3724 453209.3166,344279.2286 
453213.8714,344245.9722 453230.8319,344167.5215 
453252.2693,344080.6668 453345.0703,344124.2257 
453358.0045,344131.2617 453371.3124,344132.9605 453383.284,344134.9685 
453466.486,344107.084 453474.7835,344104.1113 453502.88,344092.0967 
453504.0003,344096.0002 453530.8495,344189.9727 
453547.9995,344249.9996 453490.9996,344290.0001 
453598.0004,344345.0001 453584.9997,344356 453481.2593,344449.1686 
453483.5141,344453.1694 453497.1538,344477.3706 
453505.7605,344478.2307 453506.5306,344490.0129 
453505.1052,344494.8789 453507.8198,344501.75 453507.3989,344505.6176 
453506.3381,344508.4695 453513.0883,344514.5131 
453520.4723,344516.1761 453523.529,344515.1726 453528.096,344508.1162 
453535.1974,344502.2241 453538.422,344492.9221 453539.5935,344491.1321 
453540.8704,344490.9304 453549.004,344490.5218 453559.2748,344486.7566 
453562.9857,344486.9788 453579.9995,344487.9997 
453582.9998,344489.0001 453595.0001,344494.0003 
453596.9999,344496.0002 453596.1623,344496.8378 
453606.5078,344501.8954 453609.0586,344504.5486 
453608.5486,344515.3436 453605.3517,344532.5345 
453606.9041,344535.4764 453609.0002,344535.9997 
453630.0004,344542.0003 453648.9997,344551.0003 
453660.0538,344557.4484 453660.9999,344558.0003 
453666.0001,344562.0001 453673.9996,344569.0001 
453680.9997,344576.0002 453683.3498,344578.3493 
453698.9504,344562.0769 453699.5023,344561.7257 
453705.8133,344557.7095 453714.7681,344570.9201 
453720.4001,344575.0233 453722.6601,344579.961 453723.3175,344580.5734 
453726.2246,344581.8667 453731.7809,344588.3159 453732.2191,344589.686 
453735.1877,344593.3007 453742.7622,344598.1841 453742.965,344599.6413 
453746.0114,344606.1171 453750.9266,344610.2141 453765.75,344600.7667 
453765.3158,344598.9091 453771.0615,344591.1851 
453778.0585,344588.2257 453782.3829,344594.2172 
453786.6099,344595.9283 453799.7386,344618.0026 453810.337,344614.4248 
453817.5306,344618.6785 453819.0001,344617.9996 
453824.9997,344617.0001 453833.9996,344617.0001 453840.9997,344619 
453841.31,344619.1546 453842.1804,344619.0195 453849.462,344625.3079 
453870.9998,344642.9995 453879.0003,344647.0003 
453881.3688,344647.5921 453883.6677,344640.6965 
453879.4335,344637.2047 453879.4509,344637.1494 
453884.0548,344622.2174 453891.7819,344612.3358 
453891.0948,344595.5965 453900.1173,344600.2516 
453903.2947,344613.1909 453910.9123,344607.139 453915.4302,344608.4569 
453926.2313,344604.0527 453926.8099,344603.3861 453923.4839,344588.45 
453922.6893,344587.5407 453921.1902,344581.0731 453922.4845,344576.374 
453907.7092,344560.8204 453893.3568,344555.595 453893.3179,344555.4055 
453892.9165,344553.4425 453896.351,344548.9093 453888.0003,344521.9996 
453887.7852,344520.0714 453885.1116,344496.0012 
453903.3644,344498.6688 453911.2031,344494.5431 453912.2977,344493.601 
453919.2661,344498.4486 453942.6593,344501.9732 
453946.2136,344500.9338 453950.7786,344505.8961 
453953.8179,344511.8579 453954.5214,344513.4993 
453958.2467,344522.1993 453959.3813,344523.6195 453961.9996,344532 
453967.5067,344552.8025 453970.9996,344565.9998 
453971.9928,344571.4035 453976.7626,344597.3731 
453979.9995,344615.0003 453982.9998,344638.0003 
453982.0004,344663.0003 453980.9999,344670.9998 
453980.1111,344677.8145 453977.9996,344693.9998 453977.0002,344697.0001
</gml:coordinates>
</gml:LinearRing>
</gml:outerBoundaryIs>
</gml:Polygon>
</gml:polygonMember>
</gml:MultiPolygon>
</gml:the_geom>
<gml:popnorth>344310.0</gml:popnorth>
<gml:geoeast>453598.0</gml:geoeast>
<gml:name>Nottingham 005B</gml:name>
<gml:label>00FYE01013876</gml:label>
<gml:popeast>453798.0</gml:popeast>
<gml:zonecode>E01013876</gml:zonecode>
<gml:OID_>66</gml:OID_>
<gml:ZONE_CODE>E01013876</gml:ZONE_CODE>
<gml:ZONE_NAME>Nottingham 005B</gml:ZONE_NAME>
<gml:POPULATION>1387</gml:POPULATION>
<gml:MALEPOP>671</gml:MALEPOP>
<gml:FEMALEPOP>716</gml:FEMALEPOP>
<gml:POPINHOUSE>1315</gml:POPINHOUSE>
<gml:POPINCOMMU>72</gml:POPINCOMMU>
<gml:POPSTUDENT>74</gml:POPSTUDENT>
<gml:PopDouble>1387.0</gml:PopDouble>
</gml:PopDouble40>
</gml:featureMember>
....
</wfs:FeatureCollection>
--
Dr Didier G. Leibovici    
	http://www.nottingham.ac.uk/cgs/cgs_didier_leibovici.html
Centre for Geospatial Science     
Sir Clive Granger Building
University of Nottingham,
University Park
Nottingham NG7 2RD, UK
	Tel: +44 - (0)115 846 8413   Fax: +44 (0)115 95 15249
------------------------------------------------------------------------
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel