mapping

Biztalk Mapping Problem, Ideas please.

Hey folks, I'm working on a moderately complex flat file schema and I've had a curve ball thrown at me. Here's what the input looks like: BCT121,C,7.35,6.5,0.39,7216,"SMITH, TRACEY",13456321,CLASS DRESSMAKING SHOPPE,CLASS DRESSMAKING SHOPPE,VAN,BC,20090109,20090112,20090127,V,0.46, BCT121,C,14.7,13.01,0.78,7216,"SMITH, TRACEY",13456321...

How can I make a Bitmap from MapXtreme Styles

I have posted this question on The MapXtreme forum but since nobody ever answers questions there I am hoping someone here has some experience with this product (mapxtreme is a GIS SDK made by the people who make MapInfo) I am working on a MapXtreme Desktop app and we need bitmaps of our features styles I have tried two ways but all I ...

Tutorial on JPA mapping file

Is there a great tutorial on how to use JPA mapping file? Accompanying related source code for the mapping file would be great also. ...

hibernate mapping file with dependancies to existing tables/POJOs

We have an existing and working database created from hbm mapping files. We want to create some new tables for an optional feature. One option is that these new tables always exist but we would prefer for the tables and POJOs to only be created on request. My issue is that these tables/POJOs have dependancies on existing tables/POJOs....

Fastest way to format SQL results in PHP

What's the fastest (best performing) way in PHP to transform a (My)SQL result like: array( array('user_name' => 'john', 'tag_id' => 1, 'tag_name' => 'foo'), array('user_name' => 'john', 'tag_id' => 2, 'tag_name' => 'bar'), array('user_name' => 'rick', 'tag_id' => 3, 'tag_name' => 'foobar'), array('user_name' => 'rick', 'tag_id' => 2...

Hibernate: Mapping One-way Redundant Columns

In my schema there are a few redundant columns used to speed up report queries. For example, the purchase total of a sale is saved in the "purchase_total" column of the "sale" table, yet in the model, it is calculated dynamically by adding up the sold price of each item purchase in the sale. This value can be retrieved by calling the "g...

BizTalk 2006 R2 mapping problem

I have this data (all the elements are optional): <data> <optionalElement1>...</optionalElement1> <optionalElement2>...</optionalElement2> <optionalElement3>...</optionalElement3> </data> I need to map this to another schema (all the elements are required): <request> <Element1>...</Element1> <Element2>...</Element2> <Element3>...<...

simple input/output question in MATLAB

Hi all, I've recently upgraded my Matlab from 6.5 to 7.7 and am also using the Image and Mapping toolboxes as well as a few others. What I'm currently trying to do is bring up-to-date a few of the M scripts in order for them to take a file in, keep it's projection and export the same image. I'm inheriting most of the code which I'm curr...

vim mapping question. How can I make a map to :r! <script> execute right away?

I have a python script called showdate.py which I want to map to I do this by: map <F2> :r! showdate.py in my _gvimrc file. The problem is that I have to press enter when I press F2 to execute instead of executing immediately. Any ideas? Thanks! ...

Data Structures in ORMs

Hi, How do you map rudimentary data structures (e.g. Tree, Dictionary) in an ORM such as NHibernate. ...

Displaying NOAA Charts in .NET

NOAA provides free nautical charts in two formats: 1) "NOAA Electronic Navigational Charts® (NOAA ENCs) are vector data sets that represent NOAA's newest and most powerful electronic charting product. NOAA ENCs conform with the International Hydrographic Office (IHO) S-57 international exchange format" 2) "NOAA Raster Navigational Char...

How to add ZIP Code Visualization to Google Static Maps API-generated Images?

This is related to an earlier question I asked. The Google Static Maps API certainly seems like the way to go given the technical constraints, however the business constraints are different and I'm starting to think there is no point where they overlap. In short, I need to generate a map image with ZIP code boundaries, and the ZIP code...

L2Entities, stored procedure and mapping

Finally checked out L2E framework and ran into problems almost instantly. Yeah, i know... i should read some books before. Situation: entity with props -> id and name. entity is mapped to table, which has id and name columns. sproc, which returns ONLY id column. Problem: ObjectResult<MyProp> result = _container.MyStoredProced...

Need a simple way to show a map from an address on .NET Compact Framework

Are there any easy and free methods of showing a map of a location starting from an the address in .NET Compact Framework. I'm fine with opening IE Mobile from my application. ...

Mapping a value to an other value and back

Imagine a value, say '1234'. I want to map that value to an other value, say 'abcd'. The constrains: The length of the target value is equal to the start value The mapping should be unique. E.g. 1234 should only map to abcd and viseversa The mapping process should be (very) difficult to guess. E.g. multiplying by 2 does count The mapp...

Extension Mapping problem in asp.net (C#)

Hi all, I'm rebuilding a site for a client at the moment. The current site is in classic asp, the rebuild is in asp.net 3.5. However, the client is insisting that all the page names remain exactly the same as he is afraid of losing his google ranking (which is currently pretty good). So, I'm trying to get ASP.Net to allow me to use ....

Extracting Property Names For Reflection, with Intellisense and Compile-Time Checking

Ok. So I have some code that maps certain controls on a winForm to certain properties in an object, in order to do certain things to the controls when certain things happen to the data. All well and good, works fine. Not the problem. The issue is, to add items to the mapping, I call a function that looks like: this.AddMapping(this.m...

Inconsistent Loading Times for GeoRSS Overlay Between Firefox and IE

I have a very simple page built to display a map and overlay a line based on points in a GeoRSS XML file. Here is the publicly accessible file. http://68.178.230.189/georssimport.html Firefox is loading in about 5 secs, which is expected because there are a lot of points to map, but IE (6 & 7) is taking upwards of 45 secs to a minute. W...

Composite foreign key columns in GORM

Hi, I need to customize the column names for composite foreign keys in GORM, and I didn't find any document that shows how to do it. I know how to customize PK columns, and how to customize a single-column FK, but not multi-column FK. Is it possible at all? Thanks. ...

API for retrieving driving directions and traffic data?

I'm interested in working on a side-project at work that integrates traffic data and automated route planning with our dispatching application. However, it seems that Google Maps and the Microsoft Virtual Earth Platform place restrictions that interfere with what I would like to do. Is there an API (free or commercial) that allows the f...