Skip to content

Instantly share code, notes, and snippets.

View bartvde's full-sized avatar

Bart van den Eijnden bartvde

  • OSGIS
  • Utrecht, The Netherlands
View GitHub Profile
@bartvde
bartvde / mapstory_trace.html
Created November 2, 2011 14:57
mapstory_trace
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="robots" content="NONE,NOARCHIVE">
<title>ExpatError at /maps/time_info.json</title>
<style type="text/css">
html * { padding:0; margin:0; }
body * { padding:10px 20px; }
body * * { padding:0; }
@bartvde
bartvde / mapstory_error
Created November 4, 2011 13:56
mapstory error
(geonode)bart-van-den-eijndens-macbook-pro:mapstory bartvde$ paster serve --reload dev-paste.ini
Starting subprocess with file monitor
Starting server in PID 5411.
serving on http://127.0.0.1:8000
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 61226)
Traceback (most recent call last):
File "/Users/bartvde/opengeo/git/mapstory/geonode/lib/python2.7/site-packages/paste/httpserver.py", line 1068, in process_request_in_thread
self.finish_request(request, client_address)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 323, in finish_request
@bartvde
bartvde / mapstory_error
Created November 14, 2011 15:46
mapstory
{"sources": {"0": {"ptype": "gx_olsource"}, "local": {"url": "/geoserver/wms", "restUrl": "/gs/rest", "ptype": "gxp_wmscsource"}}, "about": {"abstract": "", "title": ""}, "localGeoServerBaseUrl": "http://localhost:8080/geoserver/", "map": {"layers": [{"opacity": 1, "group": "background", "args": ["No background"], "visibility": false, "source": "0", "fixed": true, "type": "OpenLayers.Layer"}, {"opacity": 1, "group": "background", "args": ["OpenStreetMap"], "visibility": true, "source": "0", "fixed": true, "type": "OpenLayers.Layer.OSM"}, {"opacity": 1, "selected": true, "group": "background", "args": ["bluemarble", "http://maps.opengeo.org/geowebcache/service/wms", {"layers": ["bluemarble"], "tiled": true, "tilesOrigin": [-20037508.34, -20037508.34], "format": "image/png"}, {"buffer": 0}], "visibility": false, "source": "0", "fixed": true, "type": "OpenLayers.Layer.WMS"}], "projection": "EPSG:900913", "numZoomLevels": 22, "zoom": 7, "units": "m", "maxResolution": 156543.03390625, "maxExtent": [-20037508.34, -
@bartvde
bartvde / gml3
Created November 16, 2011 13:58
GML3
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection numberOfFeatures="1" timeStamp="2011-11-16T14:57:15.687+01:00" xsi:schemaLocation="http://geonode.org/ http://localhost:8080/geoserver/wfs?service=WFS&amp;version=1.1.0&amp;request=DescribeFeatureType&amp;typeName=geonode%3Aconflicts http://www.opengis.net/wfs http://localhost:8080/geoserver/schemas/wfs/1.1.0/wfs.xsd" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ows="http://www.opengis.net/ows" xmlns:wfs="http://www.opengis.net/wfs"><gml:featureMembers><null:conflicts gml:id="conflicts.1"><null:the_geom><gml:MultiPolygon srsDimension="2" srsName="urn:x-ogc:def:crs:EPSG:4326"><gml:polygonMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList>26.0 97.2 25.960981935596774 97.19615705608065 25.92346331352698 97.18477590650225 25.88888595339608 97.16629392246051 25.85857864376269 97.14142135623732 25.83370607753
@bartvde
bartvde / getcapabilities
Created November 16, 2011 16:15
getcaps
���������msGv���1n̄=WN��;+S&�!K�Zc�� ���t8yH�8l���7�@�D=[�V��݃��M�u^�vU�~�%׺���/�W؜_����K�������ӣ����~���;u���u�o>��������w_?���G�zxv������hs�z�Ϗ?�z��b�=���������Ӌ��u]��7����O^l^^���� ���;��{߶�t�t���|����}�������Gg�'Gώ�������x�h������������G������X�8}��V7�ǯ�}m/>Z}w�t���o6G�_l?Z}~z����W�ozA��G�G�7Ǜ����7��������>y�ɻ��o���aw ��/]_� ׶g���ի����^�շ��޻����]��lƿ�_�=|�����~ܷ�݃���h{�������G�\�oٽ�{�'?\l��l���񋣋U��p�ts����l�ju�l���U����ׇg�����^�=�������y����ӯ�.._����}����ׁ�Ńo=x�O����{w�99>:ٌm����fՏ����_������~��?���������v0�{��>޾9녾8zyv��z������O�=,��\�짧'�^�/O���b��۵���������󣗇�o���僛�7��O��c�η�݃�[�~���ѻ�>y��|sqq��._y�������,�����m�.����8�;�u�����ӧ�w��������5yo���N��xs�9{qz���&�>�۪��Ǜ'��ӓ�'_��Fo�Ɔ���fsq������݃�˓'���Cc�?:�^�����8=�v��}{�_n���q}�@�b��>\+�n��xvv|�d�'�������'�}L����}!w���C�}��؜?��_�����^a���qa����q���{}L��/��~��E>�������/�݃w��݃���K��؊}t����q����������WnO_��w'x�����>=ۜύ�����ه�����×����yd�OO�o�lϷ/���|��r�ӿl�ǧ��e��l��e��ؙ���?����
@bartvde
bartvde / fm_diff
Created November 16, 2011 17:44
fm_diff
diff --git a/src/script/plugins/FeatureManager.js b/src/script/plugins/FeatureManager.js
index f1ee3ff..1e18616 100644
--- a/src/script/plugins/FeatureManager.js
+++ b/src/script/plugins/FeatureManager.js
@@ -408,7 +408,8 @@ gxp.plugins.FeatureManager = Ext.extend(gxp.plugins.Tool, {
this.target.on("beforelayerselectionchange", this.setLayer, this);
}
if (this.layer) {
- this.target.createLayerRecord(this.layer, this.setLayer, this);
+ var config = Ext.apply({}, this.layer);
2011-11-21 14:52:40,135 DEBUG [geoserver.filters] - filtering http://localhost:8080/geoserver/rest/workspaces.xml
2011-11-21 14:52:40,145 DEBUG [security.RESTfulPathBasedFilterInvocationDefinitionMap] - Converted URL to lowercase, from: '/rest/workspaces.xml'; to: '/rest/workspaces.xml' and httpMethod= GET
2011-11-21 14:52:40,146 DEBUG [security.RESTfulPathBasedFilterInvocationDefinitionMap] - ~~~~~~~~~~ antPath= /** methodList= [Ljava.lang.String;@13d982e4
2011-11-21 14:52:40,146 DEBUG [security.RESTfulPathBasedFilterInvocationDefinitionMap] - method[0]: GET
2011-11-21 14:52:40,146 DEBUG [security.RESTfulPathBasedFilterInvocationDefinitionMap] - Candidate is: '/rest/workspaces.xml'; antPath is /**; matchedPath=true; matchedMethods=true
2011-11-21 14:52:40,146 DEBUG [ows.OWSHandlerMapping] - No handler mapping found for [/rest/workspaces.xml]
2011-11-21 14:52:40,155 DEBUG [catalog.rest] - GET all workspaces
2011-11-21 14:52:40,158 DEBUG [geoserver.filters] - Compressing output for mimetype: application/xml
2
@bartvde
bartvde / ian2
Created November 21, 2011 14:29
2011-11-21 08:20:55,405 INFO [wsgi] 127.0.0.1 - - [21/Nov/2011:15:20:54 -0500] "GET /maps/new HTTP/1.1" 200 - "http://localhost:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20100101 Firefox/8.0"
2011-11-21 08:20:55,899 INFO [wsgi] 127.0.0.1 - - [21/Nov/2011:08:20:55 -0500] "GET /lang.js HTTP/1.1" 200 - "http://localhost:8000/maps/new" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20100101 Firefox/8.0"
2011-11-21 08:20:55,978 INFO [wsgi] 127.0.0.1 - - [21/Nov/2011:08:20:55 -0500] "GET /static/theme/site.css HTTP/1.1" 304 0 "http://localhost:8000/maps/new" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20100101 Firefox/8.0"
2011-11-21 08:20:55,979 INFO [wsgi] 127.0.0.1 - - [21/Nov/2011:08:20:55 -0500] "GET /jsi18n/ HTTP/1.1" 200 - "http://localhost:8000/maps/new" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20100101 Firefox/8.0"
2011-11-21 08:21:01,243 INFO [wsgi] 127.0.0.1 - - [21/Nov/2011:08:21:01 -0500] "GET /maps/new/data?_dc=1321885261215
@bartvde
bartvde / gist:1383169
Created November 21, 2011 16:38
params
attributes title:java.lang.String,the_geom:com.vividsolutions.jts.geom.Geometry,timestamp:java.util.Date
name annotations_6
srs EPSG:900913
store geonode
timeAttribute timestamp
workspace geonode
bart-van-den-eijndens-macbook-pro:externals bartvde$ git status
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
# (commit or discard the untracked or modified content in submodules)
#
# modified: ../../../.gitmodules
# modified: GeoExt (new commits)
# modified: ../../../externals/ringojs (untracked content)