Hey all. I'm using the location module to define, well, locations for a specific content type. However, I'd like to define a child taxonomy term for each node location (there may be multiple locations per node) for the city. That is, when a page is created or a new location is added to a node, a term that is equal to the city name entered is assigned to the node as a child of the state term equal to the state name entered.

I haven't the foggiest idea how to do this. Can someone help me?

Comments

prattboy’s picture

Anyone? I can't be the only one trying to assign taxonomy based on the city/state of a node, can I?

Z2222’s picture

I'm not sure how to do this, but I am interested in finding out also.

prattboy’s picture

After some research, we've begun development on a module to do this. Please keep me on my toes and keep on reminding me on this if you're interested. I suspect that we will eventually release this for general use.

nancydru’s picture

XonXoff’s picture

I’m new to Drupal, struggling, but trusting it. Enjoying the breakthroughs as they happen. I think I have a similar need as described above.

I’m working on an international services directory. Service providers may list their business, services, location, photo’s, etc. Users search for those who provide the services they need in their area. These are contract services and some (many) providers will travel to different cities, states, or nationwide, to work.

I’m using the location module and location_view and things are working OK. I can drill down by country, province, city and find those ‘based’ in a city. But say for example my business is in Chicago but I also want to be found as a provider in every city of Illinois and Wisconsin because that’s my service area. That’s where I keep getting stuck. What I’m not sure about is whether I should continue developing this using the location module or break this all out into custom CCK fields and work from there. Or can I continue with locations for their home office and apply additional fields or taxonomy somehow to allow them to select or define additional cities or a service radius. All of Illinois, to show up on the Illinois State view, for example. Again, I’m very new to Drupal, so please be gentle…

Any example sites, recommended reading, recipes or advice on this is appreciated. I’ve read many threads but haven’t found the one that really makes the light bulb go off. Thanks in advance.

mlncn’s picture

Subscribing, and starting work on a taxonomy_location module. Prattboy, have you started any code?

~ben

People Who Give a Damn :: http://pwgd.org/ :: Building the infrastructure of a network for everyone
Agaric Design Collective :: http://AgaricDesign.com/ :: Open Source Web Development

benjamin, Agaric

MakeLimeade’s picture

FYI the Place Module is apparently what he's talking about above.

http://drupal.org/project/place

Burton

Yorgg’s picture

Hi.

I have been looking around for the same question.
I've been looking everywhere including location module and geonames issue cues though
A XML file, taxonomy export, article, link or method would be appreciated.
Any progress since 2007 in to today for Drupal 6 ?

Best Regards,
Jorge.

nancydru’s picture

Neither one who said they were working on it show anything in their user profile, so I guess no progress.

Guru’s picture

Combining Location module with Taxonomy
http://drupal.org/node/260726

This is what you might be looking for, location_taxonomy: http://drupal.org/cvs?commit=192486

sovarn’s picture

has anyone tried the geo taxonomy module?
http://drupal.org/project/geotaxonomy

its still in beta but any feedback from anyone using it.

goron’s picture

For anyone still looking at this, I've written a module for D7 to do exactly this. Check it out here: http://drupal.org/project/location_taxonomize