Hello, I'm looking for suggestions/examples of tools or APIs that enable the mapping of large amounts of time series data into an intensity map.
The data includes dimensions for country, series, and year. Here's an example http://spreadsheets.google.com/ccc?key=t9ZwziZAgy768ZTXDEg8Maw&authkey=CPn0pdoH&hl=en_GB&ui=1
...
I have a database of places with lat/lng and I have incoming requests with lat/lng. I'd like to find the closest lat/lng in the database to the incoming request. Is there any existing library or algorithm for doing this? Searching online keeps pointing me to Google's reverse geocoding library which isn't quite what I had in mind.
As ...
Hi folks,
I am facing some strange issue, I have a user table(use class) and a country table(country class). An user may have N number of countries. Hence, I have added a List of countries in the user class with the getter and setter method. In the table I have made the country_id as foreign key in user table. And, I have a @OneToMany o...
Hi there,
I'm working on an event-planning application for the contacts in a phone book. Avoiding all the public virtual and protected stuff, my Contact class looks like:
class Contact {
//...
Int32 Id { get; private set; } //primary key;
String Name { get; private set; }
//...
}
A customer asked me to handle both h...
I have a business object representing an invoice with all its line items, contractor data, bank account number, etc.
I want to be able to display such an invoice and allow user to edit it, for instance to add new line item or delete an exisiting one. User should see all properties of an invoice.
What's the best way about it?
Should I...
Is there Java equivalent of .Net's Automapper?
...
EDIT: Heard back from Google, they've confirmed this is an issue on their end.
EDIT2: my contact at Google has informed me they've fixed this bug.
I've got a troublesome bug using the Google Maps V3 API.
If you set up a map, switch to streetview, close streetview, then reopen, the imagery appears blank (though the controls still displ...
Hi, I have two classes binded mapped with Hibernate and I can't figure out the configuration to map a Drug entry to my PrescribedDrug class.
public class PrescribedDrug implements Serializable {
protected int prescribedDrugId;
private int drugId;
protected String sig;
protected int quantity;
protected int refillNumb...
I have a class that conatins a collection that is mapped to a many-to-many database relationship using Fluent Nhibernate. The mapping is as below -
Table("Book");
Id(x => x.Id);
Map(x => x.Title);
Map(x => x.NumberOfPages);
HasManyToMany(x => x.Authors)
.Cascade.AllDeleteOrphan()
.Table("BookAuthor")
.ParentKeyColumn("BookId")
.ChildKey...
Hi everyone
I have some polygon data saved in a PostGIS database with projection SRID 27700.
geom = models.MultiPolygonField(srid=27700)
I want to display the shapes on OpenStreetMap, i.e. with SRID 900913 (I think?).
So, two questions:
How do I change the code below to
output with the right SRID for
OpenStreetMap?
How can I cha...
So, this is probably a stupid question, but I have a mapping of unique IDs to unique values. Sometimes I want the value for a certain ID, sometimes I want to know the ID of a certain value. I search more than I modify the collection. I'm wondering if there's a special datastructure that makes sense here, or if I should just maintain two ...
I'm working on a biztalk project and use a map to create the new message.
Now i want to map a datefield to a string.
I thought i can do it on this way with an Function Script with inline C#
public string convertDateTime(DateTime param)
{
return System.Xml.XmlConvert.ToString(param,ÿyyyMMdd");
}
But this doesn't work and i receive ...
Hi there,
I'm pretty new to hibernate and this is my first posting in here.
I want to create a mapping for a somehow complex scenario and I just don't get it.
I have a 'group' entity where I want to store information about 'orgUnits' and 'divisions', a group member has access to.
One group can contain zero to many orgUnits and the orgU...
I need to map a collection of components with compass (using XML mapping)... Is there any way to achieve this?
Thanks in advance for any suggestions.
Example classes:
class ClassA {
private Set<ClassB> bs;
// ... getBs/setBs ...
}
class ClassB {}
Example mapping:
<class name="com.package.ClassA" alias="classA">
<!-- no ...
My problem is that when I for example do this
<h:outputLink value="changeinfo.jsf">
Change name
<f:param name="change" value="name"/>
</h:outputLink>
then the requested url is
http://localhost:45054/WMC/user/changeinfo.jsf?change=name
My url pattern for the faces servlet look like this
<servlet-mapp...
Hello, A few years ago I used the Hibernate ORM for mapping database data to the objects and manipulate it. Currently I have xml database and the next question, Is there orm for the xml databases or something like this?
It is my mistake I did not put technology, I need ORM for .net.
...
Here are the requirements:
must not rely on any type of known server, i.e. server code (that produces the map images) is not of a known variety
supports panning and zooming (image is zoomed on the client)
preferably with support for tiling (i.e. pre-fetching image tiles with some simple heuristics)
JQuery friendly
The API doesn't hav...
Hi,
I would like to "extend" my domain classes without having to add data to the domain classes themselves. Concider I have the following class:
public class Person
{
public virtual int Id { get; private set; }
public virtual string Name { get; set; }
}
And I have the following table in the database:
tblPersons---------------...
what is the best Solution for mapping class object to lightweight class object by example:
Customer to CustomerDTO both have the same properties names, i was thinking of the best optimized solution for mapping between them , i know reflection slow me down badly , and making methods for every mapping is time consuming so any idea ?
than...
I want to do my final year project,and thinking of researching and building a network mapping software,But i dont know which programming language(Java,C++,C,Visual Basic)/platform(Linux,Unix,Windows) is best for this research software.Please any suggestions will be highly appreciated.
Flaws...i am familiar in Java but not Good in C and ...