NAHERP--Is There a Way to...

General use board for NAFHA-related items.

Moderators: Scott Waters, Don Becker

Post Reply
User avatar
chris_mcmartin
Posts: 2427
Joined: June 8th, 2010, 11:13 pm
Location: Greater Houston TX Area
Contact:

NAHERP--Is There a Way to...

Post by chris_mcmartin » October 28th, 2014, 3:34 am

...display (or other wise access) the overview map as a "snapshot" from a given date, rather than only the current one?

User avatar
Don Becker
Posts: 3331
Joined: June 7th, 2010, 3:21 am
Location: Iowa
Contact:

Re: NAHERP--Is There a Way to...

Post by Don Becker » October 30th, 2014, 6:35 am

chris_mcmartin wrote:...display (or other wise access) the overview map as a "snapshot" from a given date, rather than only the current one?
I can probably make something if you need.

User avatar
chris_mcmartin
Posts: 2427
Joined: June 8th, 2010, 11:13 pm
Location: Greater Houston TX Area
Contact:

Re: NAHERP--Is There a Way to...

Post by chris_mcmartin » October 30th, 2014, 12:52 pm

Don Becker wrote:
chris_mcmartin wrote:...display (or other wise access) the overview map as a "snapshot" from a given date, rather than only the current one?
I can probably make something if you need.
After clarification, I posted to the HERP board to keep the avenue of communication "pure." 8-) I added a little teaser of a rationale too.

User avatar
Biker Dave
Posts: 2844
Joined: June 10th, 2010, 6:56 pm
Location: Wittmann,AZ

Re: NAHERP--Is There a Way to...

Post by Biker Dave » November 10th, 2014, 6:11 pm

I like that idea Chris .... it would be really cool if we could do it by species (but I imagine that would be dreamland though .... right Don?)

Dave

User avatar
Don Becker
Posts: 3331
Joined: June 7th, 2010, 3:21 am
Location: Iowa
Contact:

Re: NAHERP--Is There a Way to...

Post by Don Becker » November 11th, 2014, 2:59 pm

It's not a difficult thing to do. You just make it only use records on or before the date you specify, and for "age or records" calculations, make it do it on that date instead of the current date. For per species, we have those flash maps for those since generating the jpeg/png maps for every taxa would be pretty intensive on the server, but those could also easily be done to do at a fixed point in time.

User avatar
Don Becker
Posts: 3331
Joined: June 7th, 2010, 3:21 am
Location: Iowa
Contact:

Re: NAHERP--Is There a Way to...

Post by Don Becker » November 11th, 2014, 3:01 pm

BTW, as SVG support becomes more common place, doing the taxon specific maps would probably be easier now if I just generate SVG instead of jpeg/png. Doing that would be really fast for each species, but you would have to convert the SVG to jpeg/png if you want. The most intensive part of the map generation now is the conversion of SVG to PNG for the large maps. The small ones go pretty fast.

User avatar
Don Becker
Posts: 3331
Joined: June 7th, 2010, 3:21 am
Location: Iowa
Contact:

Re: NAHERP--Is There a Way to...

Post by Don Becker » November 11th, 2014, 3:39 pm

http://www.naherp.com/test/svg.html

That page should load two SVG maps that are generated in real time. The first one is the small image style, the other is the full size large one. Both allow for panning and zooming. The speed of which you can pan and zoom depends on your computer though, and the large one (the bottom), is much slower due to the extra detail. The flash maps that display the maps for species currently actually also had the problems with panning, which is why it drops to the blue low detail outline when panning it around.

User avatar
spinifer
Posts: 2388
Joined: June 7th, 2010, 9:48 am
Location: Delmarva

Re: NAHERP--Is There a Way to...

Post by spinifer » November 11th, 2014, 4:34 pm

I only get one map and a message that says "Your browser does not support SVG." I am using google chrome. Does it just not work with chrome or do I need to download something?

User avatar
Don Becker
Posts: 3331
Joined: June 7th, 2010, 3:21 am
Location: Iowa
Contact:

Re: NAHERP--Is There a Way to...

Post by Don Becker » November 12th, 2014, 6:59 am

If you saw one map, then your browser supports SVG just fine. It just didn't load the second map for some reason.

User avatar
chris_mcmartin
Posts: 2427
Joined: June 8th, 2010, 11:13 pm
Location: Greater Houston TX Area
Contact:

Re: NAHERP--Is There a Way to...

Post by chris_mcmartin » November 12th, 2014, 2:07 pm

Don Becker wrote:It's not a difficult thing to do. You just make it only use records on or before the date you specify, and for "age or records" calculations, make it do it on that date instead of the current date. For per species, we have those flash maps for those since generating the jpeg/png maps for every taxa would be pretty intensive on the server, but those could also easily be done to do at a fixed point in time.
Is this something we end-users can do already? If so, I'm unsure where to begin the process.

If you saw one map, then your browser supports SVG just fine. It just didn't load the second map for some reason.
If in doubt, default to "operator error" as the reason. :lol:

User avatar
spinifer
Posts: 2388
Joined: June 7th, 2010, 9:48 am
Location: Delmarva

Re: NAHERP--Is There a Way to...

Post by spinifer » November 12th, 2014, 5:24 pm

Oh, they both work now. The second map looks nice, but I cant get it to pan at all. Must be too large.

User avatar
Don Becker
Posts: 3331
Joined: June 7th, 2010, 3:21 am
Location: Iowa
Contact:

Re: NAHERP--Is There a Way to...

Post by Don Becker » November 13th, 2014, 10:05 pm

chris_mcmartin wrote:Is this something we end-users can do already? If so, I'm unsure where to begin the process.
Nope, not something you can do yet. Was giving the different options of what system I could build it into. I could make it generate the small png maps in a decent enough speed I think, or use the flash maps like on the taxon page, or the SVG maps like the examples I showed. So, if you guys have some input on what you think is best, I could easily enough make a form that lets you pick a date or species, and map type, and have it generate the map you want in what ever is decided... if the HERP board is ok with that.

User avatar
chris_mcmartin
Posts: 2427
Joined: June 8th, 2010, 11:13 pm
Location: Greater Houston TX Area
Contact:

Re: NAHERP--Is There a Way to...

Post by chris_mcmartin » November 14th, 2014, 1:56 pm

Perhaps we need to port this thread back over to the HERP discussion board so members can discuss and potentially vote, if voting is something that needs to be done.

User avatar
Biker Dave
Posts: 2844
Joined: June 10th, 2010, 6:56 pm
Location: Wittmann,AZ

Re: NAHERP--Is There a Way to...

Post by Biker Dave » November 17th, 2014, 5:16 pm

I got two maps ....

Post Reply