This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.sigua.ua.es/cgi-bin/siguawms?SERVICE=WFS | |
&VERSION=1.0.0 | |
&REQUEST=GetFeature&TYPENAME=P1 | |
&SRSNAME=EPSG:23030 | |
&BBOX=716857,4251930,716963,4251990 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.sigua.ua.es/cgi-bin/siguawms?SERVICE=WFS | |
&VERSION=1.0.0 | |
&REQUEST=GetFeature&TYPENAME=P1 | |
&SRSNAME=EPSG:23030 | |
&FILTER= | |
<Filter> | |
<PropertyIsLike wildCard="*" singleChar="#" escapeChar="!"> | |
<PropertyName>codigo</PropertyName> | |
<Literal>0041P1*</Literal> | |
</PropertyIsLike> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Query passageways (P) in enclosure set (U) | |
//Use category identifiers: 97 (lobbies), 98 (hallways) | |
var P = from item in U | |
where U.actividad.EqualsAny (97, 98) | |
select item; | |
//Query potentially crowded rooms (E) in enclosure set (U) | |
//Use category identifiers: 1 (lecture rooms), 5 (research labs), 9 (libraries or reading rooms) | |
var E = from item in U | |
where U.actividad.EqualsAny (1, 5, 9) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function GetAccessPoint (polygon1, polygon2, useId1, useId2, useCategoryMatrix) | |
{ | |
//Store the access type. Domain values are None, Exit or EvacuationOrigin | |
var accessType = useCategoryMatrix [useId1, useId2]; | |
if ( accessType == None) { | |
return; //the pair of use category identifiers do not yield an access point | |
} | |
else if (polygon1.Touches (polygon2) == false) { | |
return; //the pair of polygons do not have an edge in common | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
using GeoAPI.Geometries; | |
using NetTopologySuite.Geometries; | |
using NetTopologySuite.IO; | |
using NetTopologySuite.Densify; | |
namespace MortonOrder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Get point cloud S from polygon P | |
//by running a densify operation | |
var S = P.Densify (); | |
//Create Voronoi diagram V for | |
//point cloud S | |
var V = Voronoi (S); | |
//Get intersection C of Voronoi diagram V | |
//with polygon P |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using GeoAPI.Geometries; | |
using NetTopologySuite.Geometries; | |
using NetTopologySuite.IO; | |
using NetTopologySuite.Densify; | |
using NetTopologySuite.Triangulate; | |
namespace Skeleton | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using GeoAPI.Geometries; | |
using NetTopologySuite.Features; | |
using NetTopologySuite.Geometries; | |
using NetTopologySuite.IO; | |
using System.Globalization; | |
namespace ShortestPath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Globalization; | |
using System.Collections.Generic; | |
using ServiceStack.Redis; | |
using ServiceStack.Redis.Generic; | |
using ServiceStack.Text; | |
using System.Linq; | |
namespace redisw | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from argparse import ArgumentParser | |
import os | |
from lxml import etree | |
import redis | |
EXEC_DIR = os.path.dirname(__file__) | |
root = "/home/josetomas/Descargas/catastro_alicante_2014" | |
gmdns = "{http://www.isotc211.org/2005/gmd}" |
OlderNewer