This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?><wfs:WFS_Capabilities version="1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.opengis.net/wfs" xmlns:wfs="http://www.opengis.net/wfs" xmlns:ows="http://www.opengis.net/ows" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.opengis.net/wfs https://kangas-kehitys.mmm.fi:443/geoserver/schemas/wfs/1.1.0/wfs.xsd" xmlns:it.geosolutions="http://www.geo-solutions.it" xmlns:cite="http://www.opengeospatial.net/cite" xmlns:tiger="http://www.census.gov" xmlns:sde="http://geoserver.sf.net" xmlns:kaveri="http://www.mmm.fi/schemas/kaveri" xmlns:topp="http://www.openplans.org/topp" xmlns:sf="http://www.openplans.org/spearfish" xmlns:mavi="http://www.mavi.fi/schemas/hallintogis" xmlns:nurc="http://www.nurc.nato.int" updateSequence="91"><ows:ServiceIdentification><ows:Title>GeoServer Web Feature Service</ows:Title><ows:Abstract>This is the reference implemen |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" xmlns:mavi="http://www.mavi.fi/schemas/hallintogis" elementFormDefault="qualified" targetNamespace="http://www.mavi.fi/schemas/hallintogis"> | |
<xsd:import namespace="http://www.opengis.net/gml" schemaLocation="https://kangas-kehitys.mmm.fi:443/geoserver/schemas/gml/3.1.1/base/gml.xsd"/> | |
<xsd:complexType name="DEMOPISTEType"> | |
<xsd:complexContent> | |
<xsd:extension base="gml:AbstractFeatureType"> | |
<xsd:sequence> | |
<xsd:element maxOccurs="1" minOccurs="0" name="KOODI" nillable="true" type="xsd:decimal"/> | |
<xsd:element maxOccurs="1" minOccurs="0" name="NIMI" nillable="true" type="xsd:string"/> | |
<xsd:element maxOccurs="1" minOccurs="0" name="SELITE" nillable="true" type="xsd:string"/> |
This file contains hidden or 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
#!/usr/bin/env python | |
# | |
# Copyright (c) 2010 The Open Planning Project | |
# | |
# Permission is hereby granted, free of charge, to any person | |
# obtaining a copy of this software and associated documentation | |
# files (the "Software"), to deal in the Software without | |
# restriction, including without limitation the rights to use, | |
# copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the |
This file contains hidden or 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
var ByteArray = require("binary").ByteArray; | |
var Stream = require("io").Stream; | |
exports.app = function(env) { | |
var stream = new Stream(new java.io.ByteArrayOutputStream()); | |
// map defined elsewhere | |
map.render({ | |
imageType: "png", | |
output: stream | |
}); |
This file contains hidden or 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
var stream = new Stream(new java.io.PipedInputStream()); | |
var _out = new java.io.PipedOutputStream(stream); | |
var _runnable = new java.lang.Runnable({ | |
run: function() { | |
javax.imageio.ImageIO.write(_image, options.imageType, _out); | |
} | |
}); | |
var _thread = new java.lang.Thread(_runnable); | |
_thread.start(); | |
This file contains hidden or 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
var Client = require("ringo/httpclient").Client; | |
var Request = require("ringo/webapp/request").Request; | |
var MemoryStream = require("io").MemoryStream; | |
var merge = require("ringo/utils/objects").merge; | |
var responseForStatus = require("./util").responseForStatus; | |
var defer = require("ringo/promise").defer; | |
var app = exports.app = function(env) { | |
var response; | |
var request = new Request(env); |
This file contains hidden or 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
var google = Packages.com.google; | |
var jscomp = google.javascript.jscomp; | |
var ImmutableList = google.common.collect.ImmutableList; | |
var compiler = new jscomp.Compiler(); | |
// assemble compiler options | |
var options = new jscomp.CompilerOptions(); | |
options.setCodingConvention(new jscomp.ClosureCodingConvention()); |
This file contains hidden or 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
<#list features as feature> | |
{ | |
"type": "Feature", | |
"geometry": null, | |
"properties": { | |
<#list feature.attributes as attribute> | |
<#if !attribute.isGeometry> | |
"${attribute.name}": "${attribute.value}"<#if attribute_has_next>,</#if> | |
</#if> | |
</#list> |
This file contains hidden or 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
import java.util.Arrays; | |
import java.util.List; | |
import org.mozilla.javascript.Context; | |
import org.mozilla.javascript.Function; | |
import org.mozilla.javascript.Scriptable; | |
import org.mozilla.javascript.commonjs.module.Require; | |
import org.mozilla.javascript.tools.shell.Global; | |
This file contains hidden or 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
on run {input, parameters} | |
set clip_text to (the clipboard as text) | |
set clip_paragraphs to paragraphs of clip_text | |
if (count of clip_paragraphs) > 0 then | |
set line_text to item 1 of clip_paragraphs | |
repeat with n from 1 to count of line_text | |
set next_char to character n of line_text | |
tell application "Terminal" |
OlderNewer