Location and Mapping

To locate, perchance to plot, a common path in the geographical location modules of the Drupal world, such as location, geo, and GeoNames API (we stole the Druplicon globe from them). This group will facilitate teasing out common needs into APIs and shared use of integration code (as for views and mapping).

how to filled marker or etc

public
bigrender - Fri, 2008-06-27 07:45

http://alanpalazzolo.com/story/drupal-5-custom-gmap-node?destination=nod...

I am fallowing this.. But I have no idea how to filled the data from create a gmap macro.

"The Select Lists should be filled appropriately from the GMap Macro Creator page. Hint: changes some values and note the macro at the bottom"

plz give me a tip to filled data from macro creator page..

ps) Im not native speaker, plz understand me.

Database Driven Lines

public
tomhung - Tue, 2008-06-24 00:31

I'm looking for module suggestions for creating google map LINES that pulls its lon/lats from a database.

Eventually I would like to associate this with a user. Then I would like them to have a date selector, so they can get a range of data.

Any suggestions?

G

Location Views - Clickable markers?

netgenius's picture
public
netgenius - Sun, 2008-06-22 08:47

Re. Location Views - As far as I can see, there's nowhere that you can configure what happens if a user clicks on one of the markers displayed on the map. Has anybody implemented this, and if so can you give me a few pointers? I don't mind doing some coding, just where to start.

Also, is there anyway of controlling which marker (color etc.) gets displayed other than by using the taxonomy marker feature. That works, but I'd like different views and different content types to use different rules for marker types/colors. Any ideas?


The State of Geospatial in Drupal

bdragon@drupal.org's picture
public
bdragon@drupal.org - Mon, 2008-06-16 19:31

This is a paragraphization of a Drupal Dojo talk given by Bdragon and becw on June 16, 2008.

Current state of things

  • The immediate goal is straightforward point-based mapping for Drupal sites.
  • GMap and Location do not have stable Drupal 5 versions, or any Drupal 6 versions.
  • However, both GMap and Location are under active development by Bdragon.
  • GMap is *just* about ready for a 1.0 release on Drupal 5; it just needs to be banged on some more.
  • Location is well under way for a 3.0 release for Drupal 5; it has been tested internally, and is close to usable for most people who do not need the proximity searching functionality.
  • The basic plan of attack is to get GMap and Location out for Drupal 5, poste haste, and then do direct Drupal 6 ports, and *only* then start talking about new features and location refactoring.

Location Selector

serosero's picture
public
serosero - Thu, 2008-06-12 22:41

Hi guys!

I'm in need of the perfect location selector to efficiently geocode lots of my data. Are any of you guys working on something that might be useful? We should be able to 1. Input place names 2. Input addresses 3. Place pin on map -- to get lat/long out at the other end.


which module to use?

public
ethanre - Mon, 2008-06-02 03:22

guys, i have a new project that will contain a few pages that i'd like to show a google map to indicate the location , i found a few modules like gmap, address, location (no production version), geolocation and geobrowser...

the pages will not have lat/long,, they will only be able to use snail mail for US addresses, and the map should pinpoint the location like a typical google map..

Which of the modules is THE best one to use that's tested and tried?

Thanks in advance

Gmap view + Location + CCK

public
aoduma - Fri, 2008-05-23 13:28

I have a database of property data with lat/long and I would like to display this information in a google map. I used CCK to create the fields and created a view using Gmap view. The key is to show multiple properties on the same google map. I tried to follow Zacker's google mashup machine but didn't succeed. I would appreciate any tips. I am also keen on hiring a consultant to help me out on this project.

Arthur

GeoNames API for Drupal 6 released

serosero's picture
public
serosero - Sat, 2008-05-10 18:19

I just committed GeoNames for D6. There are a few new functions thrown in there with some useful information; continent codes, country info and US states. I have rewritten some of the code to get rid of the module_invoke_all calls and reduce the number of components in the module...

There are probably several bugs; please check it out and post issues with the bugs you find...

Enjoy!

Sero


Eurotrip Mapping Functionality

public
swill@drupal.org - Thu, 2008-05-08 18:03

I did a screencast as a little demo of what my mapping functionality is like for eurotrip.com. I basically just wanted to show you all so it may spark some ideas for improving geocoding/mapping functionalities.

Sorry for the quality, YouTube kills it pretty nicely.

Screencast: http://www.youtube.com/watch?v=caUiserZzsM

Cheers,

Swill

ps - you can see the display aspect in action at http://www.eurotrip.com/

Group my city and country

public
safknw - Wed, 2008-05-07 13:31

I'm building a link directory. Links are location based. I want to to create link listing grouped by Country and Cities. I'm not able to find out how I can do this.
Pls help me.

One more module - GMap Lat/Lon

moshe weitzman's picture
public
moshe weitzman - Sat, 2008-05-03 15:47

Written by bjaspan, From the project page:

GMap Lat/Lon is a small glue module that provides Latitude and Longitude Views fields for nodes with gmap_cck fields. Among other things, this allows the gProximity module to display a map showing all nodes with gmap_cck fields. The Location module should also be able to do this but, at the time of writing, has no supported/usable releases.

Developed by Acquia, Inc.


Addresses

brmassa@drupal.org's picture
public
brmassa@drupal.org - Sat, 2008-03-29 01:47

Guys,

Im launching today a ALPHA of my new module: Addresses. Its basically a fork from Location module. Its intended to focus on address only and let geocoding with other modules. Of course, integration is welcome.

Features:

  • All countries of the world
  • All states of all countries
  • Node addresses thru CCK
  • User address book
  • Multiple addresses for nodes and users
  • Phone and Fax fields as extras
  • Generic API for developers: add more fields easily!
  • XHTML, CSS, Drupal and PHP E_ALL valid code

Geonames CCK and Geomap

the greenman@drupal.org's picture
public
the greenman@dr... - Tue, 2008-03-25 19:16

Someone out there may be interested in the modules I have just released.

http://www.drupal.org/project/geomap
Generate Google maps from Geo Microformat data embedded in a page

http://www.drupal.org/project/geonames_cck
A CCK content type with disambiguation makeing use of the geonames api


trackfield is in CVS

raintonr's picture
public
raintonr - Mon, 2008-03-17 22:55

Hi all,

The previously discussed trackfiled module (which is actually a collection) is now in the Drupal CVS. The project page is here:

http://drupal.org/project/trackfield

Keep an eye on the project page as I'll setup an official demo site shortly.

Comments are welcome. It's not particularly clean but is working for me. I'd bet there are numerous bugs as not all druapl installs will be the same. Feel free to log bugs and feature requests from the project page.


Geo and "field stalking"

public
Allie Micka - Mon, 2008-03-10 21:58

I think that one of the reasons there are so many competing / non-collaborating solutions is that it's really hard to see past our own use cases into a more general focus. I think it would be a big mistake to build an ever-expanding collection of fields to input geographic data, and to try to imagine other cases.

Locations

Eikaa@drupal.org's picture
public
Eikaa@drupal.org - Sun, 2008-03-09 01:42

Hello everyone!

I would like to apply as a student for the summer of code. I know that it's not even clear, if Drupal will be participating, but just in case, I want you to know that I'm all for it. I have a bunch of ideas what I want to do, but I figured it would be best to narrow it down and focus on something. I came up with the idea to write modules which revolve around locations in the real world.

I would love to create
* a CCK field for node locations in general


Notes from discussion about 'How location, mapping, and geo stuff' would be if it were done properly from scratch

Bevan@drupal.org's picture
public
Bevan@drupal.org - Fri, 2008-03-07 23:21

Bdragon, bec, Bevan, arthurf, ultimike (mike anello), and Allie Micka discussed what a mapping platform in drupal would look like, how it would be structured, modularized and extendible, if nothing already existed, and if things were ideal. Here are notes from the discussion. Please add anything I may have missed or not covered. Bevan/


Gmap+views: How to remember center & zoom?

public
mrb@drupal.org - Wed, 2008-02-20 04:07

I'm looking for a way for a gmap view to remember its zoom level and centre if the view is refreshed, eg after changing exposed filter values.

Here's a gmap view that shows photos of Hong Kong, located by where they were taken, and with the option to select a date range for when the photos were taken:
http://www.batgung.com/hong-kong-photo-map

Adding a New Feature: Lines and Areas on Maps?

tom_o_t's picture
public
tom_o_t - Tue, 2008-02-19 21:49

I'd like to allow people to add lines (e.g. bike paths, walking routes) and areas (e.g. parks, forests, polluted areas) and have these display alongside points using gmap_views.

I've had a look around the Location and Mapping group discussion, the GMap issue queue, the various other mapping modules (GMap Addons, Geo, GeoBrowser, OpenLayers) and haven't found any development being done on this.


Open source / freely licensed stack for your own advanced map serving

Benjamin Melançon's picture
public
Benjamin Melançon - Tue, 2008-02-19 07:08

EveryBlock (now launched in Chicago) just blogged about the technology they used to create their own mapping platform (not using Google or Yahoo maps). It's missing a few details no doubt, but in addition to the already open components listed here, EveryBlock (funded by the Knight Foundation, which is also making significant investments in Drupal) will ultimately make the complete recipe available. Here's the parts they're using:


Google Mapplets ?

public
guix@drupal.org - Thu, 2008-02-07 20:06

Hi,

Sorry to put this in story, it's a question I have !

Does somebody has plans with the Google Mapplets ? Basically a Mapplet is like a Google Maps mashup but the map can also be published on Google Maps, if the user adds the Mapplet. There's a thread about this here too.

Thanks !

Gmap Driving direction?

cwittusen's picture
public
cwittusen - Mon, 2008-02-04 22:42

This might not be the right place for this question, if so my apologies.

I'm trying to find out how to add the driving directions to gmap targets on my map; currently it doesn't include that when I use gmap with location module and I have scanned google and couldn't find anything that talks about that for Drupal.

If this is not the right location for this or if someone possesses the knowledge of this could point me in the right direction I would be very happy.

Regards,
Chris W.


Scalable map of site content

Bevan@drupal.org's picture
public
Bevan@drupal.org - Mon, 2008-02-04 02:44

I can't believe I only just found this group. In case you didn't get it through Planet Drupal, at CivicActions I have been working hard on the Witness Hub Map. It is a mashup of google maps with the Hub with enhancements that make it appealing, interactive, fun and (almost) infinitely scalable.


Location v3 Goals

brmassa@drupal.org's picture
public
brmassa@drupal.org - Mon, 2008-01-21 18:47

Guys,

Brandon (Bdragon) and Massa (brmassa) are going to maintain the Location module for now on. We are going to launch a new version, the v3.

We need to focus on some bug fixing and making some features more generic. Then we will think about more sophisticated features.

If you want to suggest new features or bugs, please, use the Issues List.


Howto: Creating user friendly mapping for non-drupal nerds

public
pkej - Fri, 2008-01-11 15:28

New version here

This howto will help you create a simple method for your clients to add locative information to a travelogue. I've been fiddling with a lot of options for doing this, including using feeds with gmap macros. Though gmap macro feeds have the advantage of offering specific marker types for the different feeds, I ended up using a method which does away with that feature, but gains tremendously in useability, due to the fact that the writer doesn't need to know the exact feed syntax and gmap macro syntax to make it work.

Use cases

public
smoothstr@drupal.org - Sat, 2007-12-22 15:38

I wonder if we could come up with a bunch of use cases.

I've been working on mapping for a client, and it's a very hot area at the moment. There are loads of projects in the wild and a whole host of back end tools. Coming up with a decent list of what we expect to be able to do with Drupal seems like a good place to start. Of course lots of these use cases will already be covered in the existing modules.

Put your ideas in the comments. If this is a successful strand of conversation, then we'll probably need to work out which of the use cases are most important.

Locationfield module: does this exist?

webchick's picture
public
webchick - Fri, 2007-12-07 08:02

Wondering if this has been built yet, or if I should start from scratch.

I'm looking for a CCK text field that takes a "nice" value for location such as "Montreal, QC" and converts it in the back-end to "45.518376,-73.56308" so that it can be displayed in a Google Map, or searched via proximity or etc. I've attached a mock-up so you know what I mean. Ignore the form_alter stuff at the top; this was when I was thinking it was going to be its own form element but Eaton advised me to go with CCK field instead (user form would be possible w/ something like Bio module).


Community Almanac - RFP to build an online mapping platform

challer's picture
public
challer - Mon, 2007-11-19 18:48

The Orton Family Foundation, which we frequently work with, just put out an RFP to build an online mapping platform that helps them do community asset mapping in cities and towns they work in. Read more >>. We feel like it's a great match for Drupal and are planning to put a proposal together, but would love to partner up with someone who's involved, or wants to get involved in the gmap rewrite, to make sure we can use this opportunity to help move this effort forward.


User Map

rcross's picture
public
rcross - Tue, 2007-11-13 13:29

Hi,

I'm using the gmap module for generating a map of user locations, but I'm getting a weird error on the map. It says :

warning: array_intersect() [function.array-intersect]: Argument #1 is not an array in /var/www/html/cms.projectpier.org/sites/all/modules/gmap/gmap_location.module on line 96.

Can any offer some help? I noticed in the locations table there were some errors with lat/long = 0.0, so I deleted them hoping it might clear up the problem but no luck.


Type based distinction for events, location information

Gábor Hojtsy's picture
public
Gábor Hojtsy - Tue, 2007-11-06 07:30

Currently, our event listing is a flowing river of information and it is quite hard to distinguish between different types of events. I proposed that we add an event type vocabulary, which allows events to be tagged as being of specific type. Let's collect the list we are interested in having for events:

  • User group meeting
  • Regional conference
  • International conference
  • Virtual meeting (IRC meetings, Drupal dojo)
  • Training

GMap API.txt 5.x rewrite

bdragon@drupal.org's picture
public
bdragon@drupal.org - Mon, 2007-11-05 21:51

Hello! Bdragon here.

Benjamin Melançon suggested using a wiki page to rewrite gmap's API.txt for Drupal 5. I think it's a great idea.

Therefore, I'm asking for assistance with the rewrite. Please help rewrite and expand the document to describe how things actually work in 5, and I'll commit them to CVS.


Event content type, Locations, and GMap

ebeyrent's picture
public
ebeyrent - Thu, 2007-10-18 16:03

I am trying to create a map of node locations, but only for nodes of type Event and Event with Volunteer Timeslots. I've got Location and GMap configured with the API key in all the right places. I'm using the latest dev releases of these modules.

However, when I create a new event node with location data, no geocoding occurs. If I query the location table, I can see my node with the correct location, but the latitude and longitude fields are null.

I looked at location.module in the location_nodeapi() function. Around line 842, I see:

<?php
case 'insert':
?>

googlemaps api versus gmaps

public
kobnim - Wed, 2007-10-10 18:42

Hi all, newbie question.

I would like to add maps to my drupal site. The maps would be configured dynamically depending on the particular user query, eg "show me all parks in France" or "show me all libraries within 50 miles of my home".

I am trying to understand the best way to implement googlemaps on my site.
Would it be better to code directly with the googlemaps api?
Or better to use the gmaps+locations modules?

Module showing visitors plotted on a world map?

public
clevelandrocks - Fri, 2007-10-05 17:52

Is there a module that can plot site visitors on a map based on their IP address, sort of like Google Analytics? It seems like there should be, but my searches have been fruitless. Anyone heard of such a thing?

map web page

public
tony80575 - Fri, 2007-08-03 09:47

Hello all Drupaleros:

I want people like you to explain me process I want to start,

I want my user users to register and enter my web. (no problem).

Then I want them let insert an announcement into my web and let them insert into a general web map direct with mouse the announcement location.

When the add ins introduced and confirmed, a flag opens side to the marker announcement and pressing it opens a web page for the announcement.

Can you help me to do that?????

I would aprecciate too links, tutorials and all kind of information.

MyKML filter module - anyone up for giving it a spin?

challer's picture
public
challer - Thu, 2007-08-02 17:12

Hi all,
in a project that I'm doing right now, I needed an easy way to display custom maps in nodes and the gmap module macros just didn't cut it. I ended up creating a filter module, that allows users to insert their Google's MyMap or KML file in square brackets which will then be replaced by a google map with the kml overlayed. It's built on the great jquery jmaps extension by Tane Piper. I finished a first beta today and its working pretty well, http://playground.placematters.org/?q=node/1, you can also download the source code there.


Status of the gmap "marker manager(s)" and alternatives

boaz_r's picture
public
boaz_r - Wed, 2007-07-25 16:09

Hi,

I've searched quite deeply the Drupal site (and other resources) and as far as I could tell, the gmap module's "marker manager" is not ready yet. It worked in v4.7 sites but not in v5.x .
Is that so? If I'm correct, what's my options for a scenario in which I have a site with a map with over 30,000 entries in it (across whole US, for example).


Looking for examples of drupal sites that allow users to add nodes with locations

public
mrb@drupal.org - Tue, 2007-07-24 14:21

If you have a site that does this, please could you let me know the address?

Our site www.batgung.com has been on drupal for over a year, but runs a fairly standard install. A lot of the content for the site is about places in Hong kong. I'd like to extend it to include a map.

So my first step is to see how easy this is for users. Ideally I'd like it so if they click a marker they are shown the related node, but if they double-click the map they are prompted to create a new node. Not sure if that's possible or not, so I wanted to see what other people have done to get some ideas.

PHP Developer (NPO) | Chicago Technology Cooperative

public
JimShady - Mon, 2007-07-23 16:29
Employment type: 
Contract
Telecommute: 
Allowed

The Chicago Technology Cooperative is a Midwest-based collective of web developers, designers, and content specialists that builds websites and web-based applications for nonprofit and community-based organizations using free and open source software.

Mapping in Mexico...

kevee@drupal.org's picture
public
kevee@drupal.org - Mon, 2007-07-23 15:25

I am working on a large Drupal project for an anthropology program at my university, which is both a research tool (a means to enter and catalog information) and a teaching tool (anthro students can search the data and do 'virtual visual ethnography,' compiling field research to write their own paper). Anyway, cool concept, very powerful... ummm... 25,000 nodes and counting.

However, I can't map any of it easily because Google Maps has little to no road data on Mexico, and geocoding is not an option (besides, most people in these villages don't have addresses).


Does Geocoding work for nodes using Gmap?

daboyd's picture
public
daboyd - Wed, 2007-07-11 03:07

Hi,

I am cross-posting this with the support forum (http://drupal.org/node/158052) as I didn't get an answer there. If anyone can point me in the right direction, or at least let me know if geocoding node locations is possible I'd be greatly appriciative.


Google Maps API now does UK geocoding - yay!

danaktivix's picture
public
danaktivix - Tue, 2007-07-10 05:00

From the UK MySociety maps list:

The Google geocoder in the Maps API now officially works for UK addresses. It was enabled briefly last November, but that was due to a mistake on Google's part. Presumably they've somehow obtained a license to use it in this way. There's an official Google blog post (with a demonstrator) at:

http://googlemapsapi.blogspot.com/2007/07/uk-geocoding-now-available-in-...

Bert.

Yay! This is going to make my life / others in the UK's lives / a lot easier.

Dan


Proposal: End of Life the Gmap Macro

public
mfredrickson - Fri, 2007-06-01 13:37

Hello mappers,

I have a proposal that I think will make the gmap module stronger, but I wanted to solicit other opinions before I start writing the patch.

I recently was working on two additional gmap functionalities for a client: the first was the ability to load KML files located at an offsite URL as overlays, and the other was a "click to add nodes" functionality so that users could add images by simply clicking on their locations on a gmap.

In both cases I started trying to build my functionality as add modules to gmap. This quickly broke down as I discovered the macro processing was hard coded and not easy to work with. Additionally, I attempted to modify the gmap module itself, but again working with the macro processing was such a headache that I abandoned that idea as well. Finally, I developed these tools as stand alone JavaScript additions, with not UI in Drupal. Not an optimal situation, but I had to get these features out in a reasonable time frame.

I've been thinking about my experience since then, and I have come to the following conclusion: the gmap macro hinders development of the gmap module and prevents additional module development. Therefore, it should be discontinued in favor of a simpler, UI and data model driven alternative, similar to Views.

Mapping and Drupal usability - an end-user (with pretensions!) view

public
casethejoint@dr... - Thu, 2007-04-05 14:12

My specific query is how to set about initialising the creation of a node through the use of a click on a Gmaps module generated map, but perhaps this highlights some wider issues about usability. I can see a metric shed-load of impressive work - flamboyant hat tip to webgeer, geodan; with the proposed Mapping API DEP etc - going into the backend on creating and expanding geo-functionality in Drupal, but not so much on the usability side.

Native KML and the googlemap modules

public
rup3rt - Wed, 2007-04-04 17:53

It is now possible to show kml files on googlemaps (it also works without the .kml extension)

http://maps.google.co.uk/maps?f=q&q=http://looklocal.idelix.com/kml/wond...

At the same time, Xmaps is not fully compatible with the lastest API.

Is it then possible to roadmap a way of integrating KML file functionality into the Gmap module and perhaps moving away from Xmaps. What kind of integration could there be with the Kmap module?

R3

PostGIS in Drupal

public
mfredrickson - Sun, 2007-03-18 19:44

Hello,

I've may have some time available in the next few months to devote to upgrading Drupal's GIS abilities. One area where I'd like to concentrate is exposing PostGIS data and functionality. In a nutshell, PostGIS allows storing arbitrary geometries (points, lines, polygons, multipolygons and combinations of those types) in database columns.

CiviCRM group - gmap display

adixon's picture
public
adixon - Thu, 2007-02-08 21:05

I have a client who wanted to display some google maps using data stored in CiviCRM. I looked at the various projects that mash up CiviCRM and Google maps and the GMap module looked like the right place to start, but the location/civinode/views mix that looked promising didn't pan out. I also noticed the discussion around 'mapthing' below, but that seemed to have died.


Getting started (what is SVG?)

sime's picture
public
sime - Tue, 2007-01-16 00:42

SVG is an acronym that some people might have glossed over. So I want to start with the basics to make sure that the reader knows what this is all about. SVG is not very complex when you pull it a part. It is a markup language for graphics. It is:

S = Scalable - you can display the image at any size without resolution loss.
V = Vector. Lines and shapes are defined by geometry, not dots.
G = Graphics, yeah?


Syndicate content