[OpenMap Users] RE: CSVTiledImagePlugin

From: Bivens, Hugh P <hpbiven_at_sandia.gov>
Date: Wed, 12 Oct 2005 15:57:14 -0600

I got around this problem by using openmap.properties to configure my
app instead of trying to do it with java code. Works great!

-Hugh

> -----Original Message-----
> From: owner-openmap-users_at_bbn.com
> [mailto:owner-openmap-users_at_bbn.com] On Behalf Of Bivens, Hugh P
> Sent: Tuesday, October 11, 2005 5:21 PM
> To: openmap-users_at_bbn.com
> Subject: [OpenMap Users] Date: Tue, 11 Oct 2005 17:20:24 -0600
>
> I'm having the same problem that Mark had adding a CSVTiledImagePlugin
> to his app:
> http://openmap.bbn.com/mailArchives/openmap-users/2004-01/2174.html
>
> I'm doing what Don suggested, using SimpleMap2 as an example.
> I add the
> CSVTiledImagePlugIn programmitacally like this:
>
> CSVTiledImagePlugIn plugin = new CSVTiledImagePlugIn();
> Properties props = new Properties();
> props.put("prettyName", "Hugh1");
> props.put("tileFile", "data/trash.csv");
> props.put("fileHasHeader", "false");
> plugin.setProperties(props);
> mapHandler.add(plugin);
>
> But after I add it and I look at the layers
>
> Layer layers[] = _layerHandler.getLayers();
> for (int i = 0; i < layers.length; i++)
> {
> System.out.println("Got layer: " + layers[i].getName());
> }
>
> The layer "Hugh1" is not there. My other 2 layers are there, however.
> I'm not getting any error messages either.
>
> Any ideas why the CSVTiledImagePlugIn isn't getting added?
>
> I am using 4.6.2 on windows.
>
> Thanks!
> Hugh
>
> ___________________________________________________
> Hugh P. Bivens +1 (505) 284-6822
> Sandia National Laboratories hpbiven_at_sandia.gov
> Albuquerque, NM USA
>
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
> with the following text in the BODY of the message
> "unsubscribe openmap-users"]
>
>

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Oct 12 2005 - 17:58:44 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT