delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/06/30/14:49:41

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Thu, 30 Jun 2016 20:47:34 +0200 (CEST)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: "Atommann (atommann AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Subject: Re: [geda-user] Image search mode for gedasymbols site
In-Reply-To: <alpine.DEB.2.00.1606300708030.7286@igor2priv>
Message-ID: <alpine.DEB.2.11.1606301933590.1448@nimbus>
References: <CANDNR8oRiXYxS5b4fhqiiWDDsHgOg_cwCet3vFXFC2ovN8yOSg AT mail DOT gmail DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1606300553100 DOT 7286 AT igor2priv> <CANDNR8rFvPzSD16E+igm07RsjTCTkUR907p6F4iJmb_Na2PKTg AT mail DOT gmail DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1606300708030 DOT 7286 AT igor2priv>
User-Agent: Alpine 2.11 (DEB 23 2013-08-11)
MIME-Version: 1.0
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 30 Jun 2016, gedau AT igor2 DOT repo DOT hu wrote:
> On Thu, 30 Jun 2016, Atommann (atommann AT gmail DOT com) [via 
> geda-user AT delorie DOT com] wrote:
>> How about if we have a footprint/symbol search system which works like
>> the google image search mode?
>
> Are you going to implement that?

I've been working on that a while ago.  The problem is how to process 
symbol or schematic files best in order to present them on the result 
page.  Processing can either be done server-side using a modified version 
of gEDA which outputs one or several image files (this is how it is done 
in the current version of gedasymbols).  Or, the files can be stored in an 
XML-based format which can be rendered in a variety of ways in the browser 
using XSL transformations.

The advantage of this approach is that information isn't duplicated; both 
metadata and graphical representation are stored in a single file which is 
equivalent to and can be transformed back into the original .sym/.fp file. 
Conversion to the web format could either be done manually by the uploader 
using a special command or automatically by the server.

The almost-finished code for the symbol part has been sitting around in a 
branch for quite a while; maybe I'll take this as a motivation to finally 
merge it.  For footprints, there is a bit more work to be done as the PCB 
file reading and writing code couldn't easily be used outside of the main 
PCB application last time I looked.  Maybe Igor2 has worked on this while 
modularizing the PCB code, though.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019