Giter Club home page Giter Club logo

geodatastore's People

geodatastore's Issues

Create a geo sitemap

Create a geositemap at the root that embeds KML.

Original issue reported on code.google.com by pamela.fox on 18 May 2008 at 10:01

KeyError: u'\xe4' in urllib.py", line 1205

Error log

Traceback (most recent call last):
  File
"/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line
496, in __call__
    handler.get(*groups)
  File "/base/data/home/apps/now1/1.172/geoserv.py", line 202, in get
    self.operationPicker()
  File "/base/data/home/apps/now1/1.172/geoserv.py", line 214, in
operationPicker
    out,contentType = self.getGeometries()
  File "/base/data/home/apps/now1/1.172/geoserv.py", line 249, in getGeometries
    outputAction = {'json': jsonOutput(geometries,'get'),'kml':
kmlOutput(geometries,bboxWest,bboxSouth,bboxEast,bboxNorth)}
  File "/base/data/home/apps/now1/1.172/geoserv.py", line 58, in jsonOutput
    points.append("{key: '%s', userId: '%s', name: '%s', type: '%s',
description: '%s', timeStamp: '%s', coordinates: %s, altitudes: %s, bbox:
%s}" % (geometry.key(), geometry.userId, quote(geometry.name,'
'),geometry.type, quote(geometry.description,' '),geometry.timeStamp,
coordinates, altitudes,bbox))
  File "/base/python_dist/lib/python2.5/urllib.py", line 1205, in quote
    res = map(safe_map.__getitem__, s)
KeyError: u'\xe4'



Original issue reported on code.google.com by [email protected] on 12 Sep 2008 at 12:03

Exported KML polygon coordinates don't match actual overlay

What steps will reproduce the problem?

1. I added three simple polygons in the Admin tab. Two in Vancouver Canada 
and one in Newfoundland canada.
2. I exported & download the complete KML file for testing in google earth 
& a test harness html file
3.

What is the expected output? What do you see instead?

EXPECTED-> The exact coordinate points as I plotted on the Admin tab.
ACTUAL-> I imported the KML into both google earth & overlayed it on a test 
html page using google maps. In google earth the shapes don't even render 
on the globe & a popup bubble for the selected polygon always originates 
off the google earth map view? In my test page the overlayed polygons are 
no where to be found on the map?

What version of the product are you using? On what operating system?

I am running the vanilla revision 29 off the main trunk...no modifcations 
were made.
The project is hosted on the appspot.com environment.

Please provide any additional information below.

I entered the Lat/Long into maps.google.com the results for a subset of my 
polygon points were located in France & also the Antarctic.
You can view the project in question at 
http://propertygoblin.appspot.com/admin
I will attach the KML and a screen shot of my polygons so you can see the 
discrepancies.

Original issue reported on code.google.com by [email protected] on 26 Feb 2010 at 6:03

Attachments:

type error in geoserv.py in function editGeometries line 280


in geoserv.py

line 280 
     gp = Geometry.get(key)
     if gp.userid == userid | user.is_current_user_admin():
should be 
     if gp.userId == userid | users.is_current_user_admin():

What steps will reproduce the problem?
1. login
2. select one geometry 
3. edit geometries

What is the expected output? What do you see instead?
      errors indicating Geometry has no attributes 'userid' and user has no 
      is_current_user_admin() function

What version of the product are you using? On what operating system?
      trunk head. 


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 1 Jul 2008 at 6:27

Ability to specify tags in the interface

Mano has tags in the backend, I need a nifty UI for specifying tags in the
frontend (auto-suggest?).

Original issue reported on code.google.com by pamela.fox on 18 May 2008 at 10:01

Taiwanese characters cause unicode error in quote function

What steps will reproduce the problem?
1. Add a point with description: 羅斯福路四段1號Taiwan ROC
2. Try to query the database.
3. The following error results:
Traceback (most recent call last):
  File
"/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line
499, in __call__
    handler.get(*groups)
  File "/base/data/home/apps/geodatastore/1.37/geoserv.py", line 153, in get
    self.operationPicker()
  File "/base/data/home/apps/geodatastore/1.37/geoserv.py", line 165, in
operationPicker
    out,contentType = self.getGeometries()
  File "/base/data/home/apps/geodatastore/1.37/geoserv.py", line 200, in
getGeometries
    outputAction = {'json': jsonOutput(geometries,'get'),'kml':
kmlOutput(geometries,bboxWest,bboxSouth,bboxEast,bboxNorth)}
  File "/base/data/home/apps/geodatastore/1.37/geoserv.py", line 57, in
jsonOutput
    points.append("{key: '%s', userId: '%s', name: '%s', type: '%s',
description: '%s', timeStamp: '%s', coordinates: %s, altitudes: %s, bbox:
%s}" % (geometry.key(), geometry.userId, quote(geometry.name,'
'),geometry.type, quote(geometry.description,' '),geometry.timeStamp,
coordinates, altitudes,bbox))
  File "/base/python_dist/lib/python2.5/urllib.py", line 1205, in quote
    res = map(safe_map.__getitem__, s)
KeyError: u'\u7f85'

The quote function doesn't seem to like unicode characters.

Original issue reported on code.google.com by pamela.fox on 25 Aug 2008 at 9:55

Caching KML or writing to disk

I have found that geodatastore's with more than about 50 points causes App
Engine to give High CPU warnings when requesting the complete KML via the
request.

http://geodatastore.appspot.com/gen/request?operation=get&output=kml

I would assume most maps are viewed more than added to.

Is there a way for geodatastore's App Engine to cache the KML file, and
update the cache every time a new element is added to the database.  This
might alleviate the CPU warnings.

I don't think app engine allows writing to a file, but if it does appending
to the file could also be a solution.



Original issue reported on code.google.com by [email protected] on 20 Oct 2008 at 1:48

Integrate a clustered map output

Use ClusterMarker or server-side clustering, or both, to demonstrate
clustering of map point.

Original issue reported on code.google.com by pamela.fox on 6 Sep 2008 at 4:32

Unable to repeadly add Markers. SOLVED

What steps will reproduce the problem?
1. Add a new Marker
2. Fill in form info and click "save"
3. Try adding another Marker

SOLUTION:
Looks like geometry.hasEnded is never set back to True.  
Add the following line to the "save_button.onclick" function in admin.js 
line 318:
    me.selected_geometry_.hasEnded = true;

That'll fix the problem, but the user probably expects the control to 
switch back to "view" after clicking "Save".  That can easily be 
accomplished by triggering the "view" button's 'click' event.  I added the 
following line to the save_button.onclick function as well:
    GEvent.trigger(document.getElementById('view_control'),'click');

but in order for that to work you need to give the button an ID down in the 
EditControl.prototype.createButton_ function:
    button_img.id = button_opts.name+'_control';

And now it works as expected.  :)

Original issue reported on code.google.com by [email protected] on 20 Sep 2008 at 12:50

Doesn't work with FF3 - at least on MacOs 10.4.11

Has problems with console.log. This apparently doesn't work on FF3 (at
least on MacOs 10.4.11)


What steps will reproduce the problem?
1. Download app on Mac
2. Run with FF3 (3.0.1)
3.

What is the expected output? What do you see instead?
You will see errors in your firebug console: "console is undefined"

What version of the product are you using? On what operating system?
Latest, MacOs 10.4.11 FF3.0.1.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 22 Aug 2008 at 4:05

KeyError: u'\xe4' in urllib.py", line 1205

Error log

Traceback (most recent call last):
  File
"/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line
496, in __call__
    handler.get(*groups)
  File "/base/data/home/apps/now1/1.172/geoserv.py", line 202, in get
    self.operationPicker()
  File "/base/data/home/apps/now1/1.172/geoserv.py", line 214, in
operationPicker
    out,contentType = self.getGeometries()
  File "/base/data/home/apps/now1/1.172/geoserv.py", line 249, in getGeometries
    outputAction = {'json': jsonOutput(geometries,'get'),'kml':
kmlOutput(geometries,bboxWest,bboxSouth,bboxEast,bboxNorth)}
  File "/base/data/home/apps/now1/1.172/geoserv.py", line 58, in jsonOutput
    points.append("{key: '%s', userId: '%s', name: '%s', type: '%s',
description: '%s', timeStamp: '%s', coordinates: %s, altitudes: %s, bbox:
%s}" % (geometry.key(), geometry.userId, quote(geometry.name,'
'),geometry.type, quote(geometry.description,' '),geometry.timeStamp,
coordinates, altitudes,bbox))
  File "/base/python_dist/lib/python2.5/urllib.py", line 1205, in quote
    res = map(safe_map.__getitem__, s)
KeyError: u'\xe4'



Original issue reported on code.google.com by [email protected] on 12 Sep 2008 at 12:04

Output GeoRSS

Output GeoRSS, with option to order by date (or on by default).

Original issue reported on code.google.com by pamela.fox on 18 May 2008 at 10:03

geodatastore does not load on localhost

What steps will reproduce the problem?
1. Install python 2.7 om max os 10.8
2. install google app-engine
3. Load app in googleapplauncher

What is the expected output? What do you see instead?

I have loaded the site on localhost, but I can only see a blank page. What am I 
missing/doing wrong?

What version of the product are you using? On what operating system?
(see above)

Please provide any additional information below.

This is the log file

*** Running dev_appserver with the following flags:
    --skip_sdk_update_check=yes --port=9081 --admin_port=8002
Python command: /usr/bin/python2.7
WARNING  2013-07-27 14:20:46,459 application_configuration.py:99] The "python" 
runtime specified in 
"/Users/willem/Documents/python/geodatastore-read-only/app.yaml" is not 
supported - the "python27" runtime will be used instead. A description of the 
differences between the two can be found here:
https://developers.google.com/appengine/docs/python/python25/diff27
INFO     2013-07-27 14:20:46,460 devappserver2.py:540] Skipping SDK update 
check.
WARNING  2013-07-27 14:20:46,464 api_server.py:314] Could not initialize images 
API; you are likely missing the Python "PIL" module.
INFO     2013-07-27 14:20:46,468 api_server.py:138] Starting API server at: 
http://localhost:52678
INFO     2013-07-27 14:20:46,474 dispatcher.py:164] Starting module "default" 
running at: http://localhost:9081
INFO     2013-07-27 14:20:46,481 admin_server.py:117] Starting admin server at: 
http://localhost:8002

Original issue reported on code.google.com by [email protected] on 27 Jul 2013 at 2:22

Ability to copy existing geometry

Perhaps add a button besides "Modify" - "Copy". That could be on all items.

Original issue reported on code.google.com by pamela.fox on 18 May 2008 at 10:00

Convert JSON output to GeoJSON

Embrace standards! 

http://wiki.geojson.org/Main_Page

Original issue reported on code.google.com by pamela.fox on 18 May 2008 at 10:02

Drawing lines or polygons doesn't work

What steps will reproduce the problem?
1. Click the poly or line button.
2. Click somewhere on the map.

What is the expected output? What do you see instead?
You should be able to start drawing a line or polygon; instead nothing
happens at all. Firebug returns an error in the console:
geometry.addVerticesInteractively is not a function
geometry.addVerticesInteractively(); 

line 521 is the offender in admin.js. It appears that
addVerticesInteractively was added in a recent update of main.js, but it
does not have any functional code in it yet. I have found some mention of
using enableDrawing() on other pages, but I have not figured out how to
integrate that into this codebase.

What version of the product are you using? On what operating system?
Firefox 2.0.0.14 on WinXP SP2

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 29 May 2008 at 9:42

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.