Subversion Repositories eFlore/Applications.moissonnage

Rev

Rev 34 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
34 alex 1
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'."\n"; ?>
2
<wfs:FeatureCollection
3
	xmlns:ms="http://mapserver.gis.umn.edu/mapserver"
4
	xmlns:gml="http://www.opengis.net/gml"
5
	xmlns:wfs="http://www.opengis.net/wfs"
6
	xmlns:ogc="http://www.opengis.net/ogc"
7
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
	xsi:schemaLocation="http://mapserver.gis.umn.edu/mapserver <?php echo Config::get('url_service_base'); ?>wfs?service=wfs&amp;version=1.1.0&amp;request=DescribeFeatureType&amp;typename=<?php echo $listeSources; ?> http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
9
	<gml:boundedBy>
10
		<gml:Box srsName="EPSG:4326">
11
			<gml:coordinates decimal="." cs="," ts=" "><?=$enveloppe['ouest']?>,<?=$enveloppe['sud']?>,<?=$enveloppe['est']?>,<?=$enveloppe['nord']?></gml:coordinates>
12
		</gml:Box>
13
	</gml:boundedBy>
14
<?php foreach ($stations as $station) { ?>
15
	<gml:featureMember>
16
		<ms:<?=$station['source']?>>
17
			<ms:coordonnees>
18
				<gml:Point srsName="EPSG:4326">
19
					<gml:coordinates decimal="." cs="," ts=" "><?=$station['longitude']?>,<?=$station['latitude']?></gml:coordinates>
20
				</gml:Point>
21
			</ms:coordonnees>
22
			<ms:nomStation><?=$station['nom_station']?></ms:nomStation>
23
			<ms:precision><?=$station['type_site']?></ms:precision>
24
			<ms:codeInsee><?=$station['code_insee']?></ms:codeInsee>
25
			<ms:departement><?=$station['departement']?></ms:departement>
26
			<ms:taxons><?=$station['taxons']?></ms:taxons>
43 alex 27
			<ms:auteurs><?=$station['auteurs']?></ms:auteurs>
34 alex 28
		</ms:<?=$station['source']?>>
29
	</gml:featureMember>
30
<?php } ?>
31
</wfs:FeatureCollection>